[Pager] Pages do not get disposed.
V-Abhilash-1999 opened this issue · 1 comments
V-Abhilash-1999 commented
Description
Pages do not get disposed.
Steps to reproduce
- Create a simple Pager with page count as 100
- Create a Disposable side effect inside each page
- The onDispose callback does not get called in any page
Expected behavior
onDispose callback should be called when pages get disposed.
bentrengrove commented
Pager is now deprecated. Please use the Pager that is available in the main Compose libraries.
More details here https://developer.android.com/jetpack/compose/layouts/pager