We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
LinearLayoutManager linearLayoutManager1 = new LinearLayoutManager(MessageActivity.this); linearLayoutManager1.setOrientation(LinearLayoutManager.VERTICAL); recyclerviewMessage.setLayoutManager(linearLayoutManager1); recyclerviewMessage.setItemAnimator(new DefaultItemAnimator()); recyclerviewMessage.setPullRefreshEnabled(false); recyclerviewMessage.setLoadingMoreEnabled(true); recyclerviewMessage.setLoadingMoreProgressStyle(ProgressStyle.BallSpinFadeLoader); recyclerviewMessage.setFootViewText("資料讀取中",""); recyclerviewMessage.setAdapter(messageAdapter);
當 上拉及下滑都是true時,可以順暢操作。但 如果將上拉 改成false 下滑 維持true時,直接下滑是無法觸發load more的要下滑第二次才會觸發,或者先上拉 再下滑才能觸發load more。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
LinearLayoutManager linearLayoutManager1 = new LinearLayoutManager(MessageActivity.this);
linearLayoutManager1.setOrientation(LinearLayoutManager.VERTICAL);
recyclerviewMessage.setLayoutManager(linearLayoutManager1);
recyclerviewMessage.setItemAnimator(new DefaultItemAnimator());
recyclerviewMessage.setPullRefreshEnabled(false);
recyclerviewMessage.setLoadingMoreEnabled(true);
recyclerviewMessage.setLoadingMoreProgressStyle(ProgressStyle.BallSpinFadeLoader);
recyclerviewMessage.setFootViewText("資料讀取中","");
recyclerviewMessage.setAdapter(messageAdapter);
當 上拉及下滑都是true時,可以順暢操作。但 如果將上拉 改成false 下滑 維持true時,直接下滑是無法觸發load more的要下滑第二次才會觸發,或者先上拉 再下滑才能觸發load more。
The text was updated successfully, but these errors were encountered: