ribot / easy-adapter

[DEPRECATED] Easy Adapters library for Android
http://ribot.github.io
Apache License 2.0
421 stars 50 forks source link

Endless Scrolling Feature Request #45

Open Zapnologica opened 8 years ago

Zapnologica commented 8 years ago

So I have been using easy-adapter quite a lot lately and I have really come to like it.

One thing I have tried to implement while still keeping the view holders is endless loading.

It seems pretty simple, the only issue I had was that I could not override the onCreateViewHolder in order to show the loading sign, because the static RecyclerViewHolder class is private.

have a look at the following link: http://android-pratap.blogspot.co.za/2015/06/endless-recyclerview-with-progress-bar.html

Would be a great feature to add to the adapter,

I would suggest leaving the feature out of the default constructor, but maybe call a setEndlessScrolling(OnLoadMoreCallback, numberOfItemsToShow);