MarkoMilos / Paginate

Library for creating simple pagination functionality upon RecyclerView and AbsListView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loading list item show/hide

linkact opened this issue · comments

Thank you for the library.

Is there any available method to forcely close(invisible) the loading list item when cannot get data from server... (for example.. when the server down)

@linkact have you tried with setHasMoreDataToLoad(boolean) call in a case where there is no connection. Right now there is no other explicit way to do this.

I do this after request finished with no record for hide loading view mPaginate.setHasMoreDataToLoad(true);
but its not working, I don't know why ?

@planetwebsolution you should use setHasMoreDataToLoad(false);

As blank-space suggested you should use setHasMoreDataToLoad(false);

Closing this, please reopen if you still have an issue with this.