new Thread用RxJava或者线程池代替

This commit is contained in:
kehaoyuan
2017-05-22 09:07:18 +08:00
parent 9369218821
commit 8643a12744
33 changed files with 231 additions and 216 deletions

View File

@ -140,6 +140,8 @@ public class KcSelectGameActivity extends BaseActivity {
@Override
public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
super.onScrolled(recyclerView, dx, dy);
if (dy == 0) return;
int position = layoutManager.findFirstVisibleItemPosition();
int gameSize = mAdapter.getGameSize();