Closed Fahad-pnw closed 5 years ago
also, this i'm trying to do it upon creation, while removal in the examples were done onclick which were already loaded. i just want to make sure when creating sections, if any section is empty, let it not be created, can someone pls point me to that example or so?
There's a method setHasHeader
for Section
, has you tried that?
Closing due to inactivity.
Hi, thanks for a great library.
my issue is very similar to this: https://github.com/luizgrp/SectionedRecyclerViewAdapter/issues/130
what i want to do is hide empty sections, i've tried various ways to do that, but i'm failing it constantly. I believe someone could instantly point out what i must do in order to hide a section that's empty.
` val headerHolder = holder as HeaderViewHolder
this works, but shows empty views instead. tried sectionAdapter!!.notifyDataSetChanged() but it doesn't really help the case.