listTopBar
fun listTopBar(title: String, isEditing: Boolean, navIcon: Painter? = painterResource(com.urbanairship.messagecenter.core.R.drawable.ua_ic_message_center_arrow_back), navIconDescription: String? = stringResource(CoreR.string.ua_back), actions: @Composable RowScope.() -> Unit = {}, onNavigateUp: () -> Unit = {}, scrollBehavior: TopAppBarScrollBehavior? = null)(source)
Top bar for the message list screen.
Parameters
title
The title to display in the top bar.
isEditing
Whether the list is in editing mode.
navIcon
The navigation icon to display. If null, no navigation icon is displayed.
navIconDescription
The content description for the navigation icon.
actions
The actions to display in the top bar.
onNavigateUp
The callback to be invoked when the navigation icon is clicked.
scrollBehavior
The optional scroll behavior for the top bar.