Package-level declarations
Functions
Link copied to clipboard
fun ChannelScreen(viewModelFactory: ChannelViewModelFactory, onBackPressed: () -> Unit = {}, onHeaderTitleClick: (channel: Channel) -> Unit? = null, onChannelAvatarClick: (Channel) -> Unit? = null, skipPushNotification: Boolean = false, skipEnrichUrl: Boolean = false, verticalArrangement: Arrangement.Vertical = Arrangement.Bottom, threadsVerticalArrangement: Arrangement.Vertical = Arrangement.Bottom, topBarContent: @Composable (BackAction) -> Unit = {
DefaultTopBarContent(
viewModelFactory = viewModelFactory,
backAction = it,
onHeaderTitleClick = onHeaderTitleClick,
onChannelAvatarClick = onChannelAvatarClick,
)
}, bottomBarContent: @Composable () -> Unit = {
DefaultBottomBarContent(
viewModelFactory = viewModelFactory,
skipPushNotification = skipPushNotification,
skipEnrichUrl = skipEnrichUrl,
)
})
Default root Channel screen component, that provides the necessary ViewModels and connects all the data handling operations, as well as some basic actions, like back pressed handling.
Link copied to clipboard
Contains the message dialogs used to prompt the user with message flagging and deletion actions
Link copied to clipboard
fun BoxScope.MessageMenus(listViewModel: MessageListViewModel, composerViewModel: MessageComposerViewModel, skipPushNotification: Boolean, skipEnrichUrl: Boolean)
Contains the various menus and pickers the user can use to interact with messages.
Link copied to clipboard
fun MessageModerationDialog(listViewModel: MessageListViewModel, composerViewModel: MessageComposerViewModel, skipPushNotification: Boolean, skipEnrichUrl: Boolean)
Contains the dialog for a message that needs to be moderated.
Link copied to clipboard
Displays poll-related dialogs based on the current poll selection state in listViewModel.