question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UltimateRecyclerView setLoadMoreView not work

See original GitHub issue

main code: private void initView() { recycleview = (UltimateRecyclerView) findViewById(R.id.recycleview); recycleview.setLayoutManager(new LinearLayoutManager(this)); initData(); recycleview.enableDefaultSwipeRefresh(true); recycleview.reenableLoadmore(); //刷新监听 recycleview.setDefaultOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() { @Override public void onRefresh() { handler.sendEmptyMessageDelayed(REFRESH, 3000); } });

    recycleview.setLoadMoreView(R.layout.custom_bottom_progressbar);
    //加载更多监听
    recycleview.setOnLoadMoreListener(new UltimateRecyclerView.OnLoadMoreListener() {
        @Override
        public void loadMore(int itemsCount, int maxLastVisiblePosition) {
            recycleview.disableLoadmore();
            handler.sendEmptyMessageDelayed(LOADMORE, 1000);
        }
    });
}

That’s code can Load More,but it can’t show the loadMoreView ,why?it fucking me crazy long time,give me a hand,thx

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:16

github_iconTop GitHub Comments

1reaction
teffycommented, Mar 28, 2016

Any good idea?

0reactions
imgod1commented, Jul 25, 2016

native RecyclerView + CommonAdapter by hyman github address:https://github.com/hongyangAndroid/baseAdapter

Read more comments on GitHub >

github_iconTop Results From Across the Web

UltimateRecycleView : SetLoadMoreView is Not Working
I am currently working with Android and UltimateRecycleView. I manage to make the ultimaterecycleview working, but when I tried to use the ...
Read more >
Load more view in first time · Issue #480 · cymcsg ... - GitHub
Hi,Thanks for this amazing library I have 0.7.3 version I think this issue not solve yet ! its not working on first load...
Read more >
UltimateRecyclerView - Bountysource
I am trying to get the UltimateRecyclerView to wrap its content, this is the result: But when I use the normal RecyclerView it...
Read more >
com.marshalchen.ultimaterecyclerview.UltimateRecyclerView Java ...
This page shows Java code examples of com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.
Read more >
Examples with UltimateRecyclerView - com.marshalchen ...
postDelayed(new Runnable() { @Override public void run() { simpleRecyclerViewAdapter.insert(moreNum++ + " Refresh things", 0); ultimateRecyclerView.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found