Reputation: 2195
I have table to show the data. The user can see the data day by day. I would like to accomplish it by using view pager. The problem is that in view pager, there is limitation for count. I have no idea how to make the unlimited view pager. Is that possible? I would like to hear any suggestion or tutorials.
Thanks.
Upvotes: 1
Views: 656
Reputation: 11357
final int VIRTUAL_VIEW_COUNT = Integer.MAX_VALUE;
@Override
public int getCount() {
return VIRTUAL_VIEW_COUNT;
}
Pass the maximum value of integer as the count.
Upvotes: 3