Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 indexedStack 下或者 pageview 下的 ListView 首次加载时,未上报曝光 #7

Open
iyuhang opened this issue Jan 11, 2023 · 1 comment

Comments

@iyuhang
Copy link

iyuhang commented Jan 11, 2023

IndexedStack( children: [ PageView.builder( itemCount: 3, itemBuilder: ((context, index) { return ScrollDetailProvider( child: ListView.builder(itemBuilder: ((context, index) { return Exposure(onExpose: () {}, child: Container()); }))); })) ], ),

image

结构如上,在第一个加载时,没有报告曝光
当左右滑动pageView 时,会曝光Listview里的item

@iyuhang
Copy link
Author

iyuhang commented Jan 11, 2023

ListView 下的 第一个 item 使用,reCheckExposreState 也不能曝光

Future.delayed(const Duration(milliseconds: 500), (() {
exposureController.reCheckExposeState();
}));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant