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

notifyDataSetChanged() has no effect outside StatelessSection #85

Closed robert-00 closed 6 years ago

robert-00 commented 6 years ago

Hi, I'm trying example 5

I try to update the list out of class public class MovieSection extends StatelessSection

notifyDataSetChanged() has no effect.

only inside the class works.

How do you do it outside ?

I've looked at all the examples, but they all make calling notifyDataSetChanged() inside the class.

Thanks

luizgrp commented 6 years ago

Not sure if that matters but here and here it's being called inside the Section class.