skydoves / ExpandableLayout

🦚 An expandable layout that shows a two-level layout with an indicator.
Apache License 2.0
828 stars 54 forks source link

Recycle view - example #29

Open ZZerog opened 3 years ago

ZZerog commented 3 years ago

try change length of a each list in the Section items in your example. Something like:


adapter.addSectionItem(
      SectionItem("Title0", R.color.colorPrimary, arrayListOf("item0"))
)
adapter.addSectionItem(
      SectionItem("Title1", R.color.md_yellow_100, arrayListOf("item0", "item1", "item2", "item3"))
)
adapter.addSectionItem(
      SectionItem("Title2", R.color.md_amber_700, arrayListOf("item0", "item1", "item2"))
)

Now a ExpandableLayout start to show empty items.