Skip to content

Conversation

@chenxuling
Copy link

No description provided.

Copy link
Owner

@frtmobileapp frtmobileapp left a comment

Choose a reason for hiding this comment

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

重新提交,这个运行无法通过

UserAdapter userAdapter = new UserAdapter(userInfos);
RecyclerView recyclerView = (RecyclerView) findViewById(R.id.rvRecyclerView);
recyclerView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false));
UserAdapter mUserAdapter = new UserAdapter(userInfos);
Copy link
Owner

Choose a reason for hiding this comment

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

这边又定义了一个变量?那成员变量岂不是没有赋值,下面运行岂不是空指针?

intentResult.putExtra(PARAM_USER_INDEX,mUserIndex);
setResult(RESULT_OK,intentResult);
finish();

Copy link
Owner

Choose a reason for hiding this comment

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

多余空行

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