-
Couldn't load subscription status.
- Fork 11
17023139 许林凯 95 #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| 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); |
There was a problem hiding this comment.
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 { | |||
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
错误的常量定义private static final
No description provided.