sjthn/RecyclerViewDemo

Q:Expand some row

rb0071 opened this issue · 4 comments

Can I expand some header when recyclerView set adapter success?

sjthn commented

what do you mean by set adapter success? If you mean after adapter has been set, then yes you can do that.

After adapter has been set and recyclerview show data, Can I set automatic expand some header? Could you give us an example?

sjthn commented

Unfortunately I don't have an example. If I can come up with an idea quickly, whatever data you are passing, add a flag which tells whether to expand the a header or not. That way based on that flag you can show the header.

sjthn commented

Hey I am closing this 🙂