Skip to content

當禁止上拉refresh,只同意下滑load more時,需下滑兩次才能觸發 #16

Description

@AmbroseChen

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。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions