Call notifyDataSetChanged() in ContentLayout restoring state

This commit is contained in:
seven332 committed 2019-01-02 16:37:20 +08:00
1 parent 36067c9fac
commit 2293654da8
1 file changed
+2
@@ -914,6 +914,8 @@ public class ContentLayout extends FrameLayout {
mEndPage = bundle.getInt(KEY_END_PAGE);
mPages = bundle.getInt(KEY_PAGES);
notifyDataSetChanged();
if (newData == null) {
mPageDivider.clear();
mStartPage = 0;