Skip to content

Commit

Permalink
fix(android): Fix blank screen after removal of last page (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactor authored Nov 28, 2024
1 parent 39bf5c2 commit 44bca35
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,8 @@ object PagerViewViewManagerImpl {
}

adapter?.removeChildAt(index)

pager.post {
pager.invalidate()
pager.requestLayout()
}

refreshViewChildrenLayout(pager)
}

fun needsCustomLayoutForChildren(): Boolean {
Expand Down

0 comments on commit 44bca35

Please sign in to comment.