Fix gallery preview not being restored
This commit is contained in:
1 parent
ec027d3d98
commit
817ed1ce8f
1 file changed
+1
@@ -776,6 +776,7 @@ class ContentLayout(context: Context, attrs: AttributeSet? = null) : FrameLayout
|
||||
mPrev = state.getString(KEY_PREV)
|
||||
mNext = state.getString(KEY_NEXT)
|
||||
notifyDataSetChanged()
|
||||
notifyDataSetChanged {}
|
||||
if (newData == null) {
|
||||
mPageDivider.clear()
|
||||
mStartPage = 0
|
||||
|
||||
Reference in new issue
Block a user