Seth Madison
10/18/2024, 5:17 AM@Preview
that a composable should be shown in its focused (or pressed, or hovered) state. Where is the right place to file a feature request for that?Stylianos Gakis
10/18/2024, 7:25 AMSeth Madison
10/18/2024, 1:23 PMStylianos Gakis
10/18/2024, 1:40 PMremember {
object : MutableInteractionSource {
override val interactions: Flow<Interaction>
get() = flowOf(FocusInteraction.Focus())
override suspend fun emit(interaction: Interaction) {
}
override fun tryEmit(interaction: Interaction): Boolean {
return false
}
}
}
or
remember {
object : MutableInteractionSource {
override val interactions: Flow<Interaction>
get() = flowOf(HoverInteraction.Enter())
override suspend fun emit(interaction: Interaction) {
}
override fun tryEmit(interaction: Interaction): Boolean {
return false
}
}
}
precisely for some previews