Skip to content

Conversation

@Xiaolinkay
Copy link

No description provided.

@frtmobileapp frtmobileapp changed the title 17023139 许林凯 17023139 许林凯 95 Jun 5, 2019
RecyclerView recyclerView = (RecyclerView) findViewById(R.id.rvRecyclerView);
recyclerView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false));
recyclerView.setAdapter(userAdapter);
RecyclerView recy_list = findViewById(R.id.recy_list);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不建议使用下划线命名规则,使用recyList

@@ -0,0 +1,4 @@
package com.nd.frt.recentconversation.activity;

class Actvity {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

???这个做什么?

import com.nd.frt.recentconversation.model.UserInfo;

public class DetailActivity extends AppCompatActivity {
public static final String PARAM_USER_INFO = " user_info";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

空行

public class UsersAdapter extends RecyclerView.Adapter<UserViewHolder> {

private List<UserInfo> mUserInfos;
private int REQUEST_EDIT_USER_INFO = 0x1001;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

错误的常量定义private static final

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants