Closed NDroid86 closed 7 years ago
@NishantRajput You want to implement loading for the swipe views till you get more data from the api?
Yes, I want a bunch of user to display in which page returns 20 users at time and I want to load more pages.
@NishantRajput Please use version 0.6.1
compile 'com.mindorks:placeholderview:0.6.1'
See the release note: https://github.com/janishar/PlaceHolderView/releases/tag/0.6.1
mSwipePlaceHolderView.addItemRemoveListener(new ItemRemovedListener() {
@Override
public void onItemRemoved(int count) {
//do something when the count changes to some specific value.
//For Example: Call server to fetch more data when count is zero
}
});
Thanks.. Its working.
How can I implement @LoadMore in SwipePlaceHolderView??