I'am using StickyGridHeaders for GridView with sections.
this library is using R.array.countries
to populate GridView
with provided data and extracting first letter from passed string array to create section heading.
I m trying to pass an ArrayList
of objects that will contain ArrayList
for sections text named as "sectionArrayList"
and "contentArrayListPrivate"
and "contentArrayListPublic"
.
Now i want to play a for loop that will play till < sectionArrayList.size
and will check is there any sections then show section text and then show all contents associated with this section by contentArrayListPrivate.size
and similar for others but unable to achieve my target.
Can someone please point me towards right direction how to achieve this task ?
want to achive something like: