PinnedHeaderListView icon indicating copy to clipboard operation
PinnedHeaderListView copied to clipboard

Different getCountForSection() for each sections?

Open sethiankit opened this issue 10 years ago • 1 comments

If we have different item counts for each sections, then how to alter the adapter as shown in the sample?Right now, the different sections should have equal number of items to work, like shown in your sample.

Thanks!

sethiankit avatar Oct 08 '14 14:10 sethiankit

The getCountForSection method will have a parameter passed in that indicates which section you should return the count for. So you can use this parameter to determine how many items should be in that section and return the appropriate value

JimiSmith avatar Oct 22 '14 12:10 JimiSmith