emilsjolander / StickyListHeaders

An android library for section headers that stick to the top
Apache License 2.0
5.51k stars 1.52k forks source link

Can we use different data type with this library? #449

Open keyuraashra opened 8 years ago

keyuraashra commented 8 years ago

Hello,

I must appreciate the work done but I am trying to use this library for different section with different data types but unfortunately its not working for me.

What I did is I have created interface with no method and I am using ArrayList of the type interface & adding things like Section, String & Custom Object.

Unfortunately its not working for me the way i need and I would like to get some help from you. I am using view type and view count method as well where I have provided count as 3 - as i have 3 types - String, Section & Custom object.

Can you share some idea to achieve this using the library, it would be really appreciated.