Skip to content

Fix crash when the adapter changes its content#6

Open
sgc-code wants to merge 1 commit intodiego-gomez-olvera:masterfrom
NDrive:support_adapter_updates
Open

Fix crash when the adapter changes its content#6
sgc-code wants to merge 1 commit intodiego-gomez-olvera:masterfrom
NDrive:support_adapter_updates

Conversation

@sgc-code
Copy link
Copy Markdown

@sgc-code sgc-code commented Sep 7, 2016

PagerAdapterWrappershould call super.notifyDataSetChanged()when a change happens in the wrapped PageAdapter otherwise you get the following error:

The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged

@Ereza
Copy link
Copy Markdown

Ereza commented Jan 12, 2017

Thanks a lot! We has this problem and this change fixes it! I hope it gets merged soon!

@Nammari
Copy link
Copy Markdown

Nammari commented Jul 9, 2017

Unfortunately this does not fix the crash !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants