PinnedHeaderListView
PinnedHeaderListView copied to clipboard
Different getCountForSection() for each sections?
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!
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