Package-level declarations

Types

Link copied to clipboard
sealed class Event

The events that can be emitted by the FlyerView.

Link copied to clipboard
data class FlyerStyle(val masthead: MastheadStyle = MastheadStyle.Default, val searchBar: SearchBarStyle = SearchBarStyle.Default)
Link copied to clipboard
data class MastheadStyle(val logo: Any? = R.drawable.tc_logo, val hidden: Boolean = false)
Link copied to clipboard
data class SearchBarStyle(val searchTextField: @Composable (String, Modifier, (String) -> Unit) -> Unit = { query, modifier, onQueryChange -> DefaultSearchTextField( query, modifier, onQueryChange ) }, val filterToggleStyle: @Composable (Boolean, Modifier, () -> Unit) -> Unit = { showFilter, modifier, onToggle -> DefaultFilterToggle( showFilter, modifier, onToggle ) }, val resetButtonStyle: @Composable (Modifier) -> Unit = { modifier -> DefaultResetButton(modifier) }, val hidden: Boolean = false)

Properties

Functions

Link copied to clipboard
fun DefaultFilterToggle(showFilters: Boolean, modifier: Modifier, onToggle: () -> Unit)
Link copied to clipboard
Link copied to clipboard
fun DefaultSearchTextField(query: String, modifier: Modifier, onQueryChange: (String) -> Unit)
Link copied to clipboard
fun FlyerView(digitalFlyer: DigitalFlyer, attributes: Publication.Attributes, orientation: Orientation, onEvent: (Event?) -> Unit? = null)
Link copied to clipboard
fun FlyerViewUI(digitalFlyer: DigitalFlyer, attributes: Publication.Attributes, orientation: Orientation = Orientation.VERTICAL, flyerStyle: FlyerStyle = FlyerStyle.Default, onEvent: (Event?) -> Unit? = null)