We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b747780 commit 6d18cc2Copy full SHA for 6d18cc2
src/ui-pager/index.android.ts
@@ -992,11 +992,11 @@ function initStaticPagerStateAdapter() {
992
993
sp.nativeView.setLayoutParams(new android.view.ViewGroup.LayoutParams(android.view.ViewGroup.LayoutParams.MATCH_PARENT, android.view.ViewGroup.LayoutParams.MATCH_PARENT));
994
995
- owner._realizedItems.set(sp.nativeView, sp);
996
997
initPagerViewHolder();
998
-
999
- return new PagerViewHolder(new WeakRef(sp), new WeakRef(owner));
+ const holder = new PagerViewHolder(new WeakRef(sp), new WeakRef(owner));
+ owner._viewHolders.add(new WeakRef(holder));
+ return holder;
1000
}
1001
1002
onBindViewHolder(holder: any, index: number): void {
0 commit comments