cymcsg / UltimateRecyclerView

A RecyclerView(advanced and flexible version of ListView in Android) with refreshing,loading more,animation and many other features.
Apache License 2.0
7.22k stars 1.43k forks source link

Where is disableLoadMore? #6

Closed parkjaeiek closed 9 years ago

parkjaeiek commented 9 years ago

where is disableLoadMore?

i want stop loadMore

cymcsg commented 9 years ago

The LoadMore method is disable in default. So if you don't want to use loading more you can simply remove enableLoadmore() method in demo.

You can remove these code in demo.

   ultimateRecyclerView.enableLoadmore();
   simpleRecyclerViewAdapter.setCustomLoadMoreView(LayoutInflater.from(this)
                .inflate(R.layout.custom_bottom_progressbar, null));
parkjaeiek commented 9 years ago

i know disable default.... my probleam mean... i need enableLoadMore.... example 10 totalitem call 1page 3item... loadmore 4 call after disableLoadMore need.... last page do not call loadmore

cymcsg commented 9 years ago

Thank you for giving this advice. In fact ,the current released version do not have the method of disableLoadmore().But in the latest dev version it has been improved. Please notice that the method has some side effects if you also use parallax head view in the same time.

cymcsg commented 9 years ago

Now you can use Ultimate Recyclerview version 0.3.1 to solve the problem.