yschimke12/09/2021, 10:33 AM
Pages in bothDoes this mean it is safe to use LaunchedEffect as a signal that the current page is just been shown? Or do they get created eagerly when user is contemplating a scroll/starting a swipe? Should pager state change events be used instead?and
HorizontalPagerare lazily composed and laid-out as required by the layout. As the user scrolls through pages, any pages which are no longer required are removed from the content.
cb12/09/2021, 10:43 AM
reading what state? But yes, just use the
, it's what it is there for
yschimke12/09/2021, 10:58 AM