Package 

Class ThreadsScreenKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ThreadsScreen(ThreadsViewModelFactory viewModelFactory, String title, Function0<Unit> onHeaderAvatarClick, Function1<Thread, Unit> onThreadClick) Default root Threads screen component, that provides the necessary ViewModel.
      • Methods inherited from class java.lang.Object

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

      • ThreadsScreen

        @Composable() final static Unit ThreadsScreen(ThreadsViewModelFactory viewModelFactory, String title, Function0<Unit> onHeaderAvatarClick, Function1<Thread, Unit> onThreadClick)

        Default root Threads screen component, that provides the necessary ViewModel.

        It can be used without most parameters for default behavior, that can be tweaked if necessary.

        Parameters:
        viewModelFactory - The factory used to build the ThreadListViewModel.
        title - Header title.
        onHeaderAvatarClick - Handle for when the user clicks on the header avatar.
        onThreadClick - Handler for Thread item clicks.