diff --git a/android/src/main/java/com/reactnativepagerview/PagerViewViewManagerImpl.kt b/android/src/main/java/com/reactnativepagerview/PagerViewViewManagerImpl.kt index 14e582b6..ad7ea468 100644 --- a/android/src/main/java/com/reactnativepagerview/PagerViewViewManagerImpl.kt +++ b/android/src/main/java/com/reactnativepagerview/PagerViewViewManagerImpl.kt @@ -78,11 +78,8 @@ object PagerViewViewManagerImpl { } adapter?.removeChildAt(index) - - pager.post { - pager.invalidate() - pager.requestLayout() - } + + refreshViewChildrenLayout(pager) } fun needsCustomLayoutForChildren(): Boolean {