Package 

Class PagerScreenKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit PagerScreen(Integer count, Modifier modifier, PagerState state, Function1<Integer, Unit> content) A Wear Material Compliant Pager screen.
      final static Unit FocusOnResume(FocusRequester focusRequester) Utility to Focus the page when it is resumed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • PagerScreen

         final static Unit PagerScreen(Integer count, Modifier modifier, PagerState state, Function1<Integer, Unit> content)

        A Wear Material Compliant Pager screen.

        Combines the Accompanist Pager, with the Wear Compose HorizontalPageIndicator. Also uses lifecycle, which allows attaching logic such requesting focus to page events.

      • FocusOnResume

         final static Unit FocusOnResume(FocusRequester focusRequester)

        Utility to Focus the page when it is resumed.