合并整理

This commit is contained in:
khy
2017-04-25 14:53:57 +08:00
parent c14605b598
commit b9185cce15
4 changed files with 61 additions and 24 deletions

View File

@ -74,7 +74,7 @@ public class VoteActivity extends BaseActivity implements SwipeRefreshLayout.OnR
Runnable runnable = new Runnable() {
@Override
public void run() {
mAdapter = new VoteAdapter(VoteActivity.this, mGameId, mVoteDao);
mAdapter = new VoteAdapter(VoteActivity.this,VoteActivity.this, mGameId, mVoteDao);
mVoteRv.setAdapter(mAdapter);
}
};
@ -117,7 +117,7 @@ public class VoteActivity extends BaseActivity implements SwipeRefreshLayout.OnR
layoutManager = new LinearLayoutManager(this);
mVoteRv.setLayoutManager(layoutManager);
mAdapter = new VoteAdapter(this, mGameId, mVoteDao);
mAdapter = new VoteAdapter(this, this, mGameId, mVoteDao);
mVoteRv.setAdapter(mAdapter);
mVoteRefresh.setColorSchemeResources(R.color.theme);