luizgrp / SectionedRecyclerViewAdapter

An Adapter that allows a RecyclerView to be split into Sections with headers and/or footers. Each Section can have its state controlled individually.
MIT License
1.68k stars 372 forks source link

Notify content changed in section with header #16

Closed zhukovme closed 8 years ago

zhukovme commented 8 years ago

Hello! I've tried to update/insert section with header after setting adapter to recycler view.

Here is my code:

adapter = new SectionedRecyclerViewAdapter();
rvContacts.setAdapter(adapter);

and then

ContactCardSection section = new ContactCardSection(title, contactList);
adapter.addSection(section);
adapter.notifyDataSetChanged();

But only header has been updated. How to update content in this case?