Skip to content

Instantly share code, notes, and snippets.

@Skyyo
Created Aug 22, 2021
Embed
What would you like to do?
sealed class ScreenEvent {
class ShowToast(val messageId: Int) : ScreenEvent()
class UpdateKeyboard(val show: Boolean) : ScreenEvent()
class MoveFocus(val direction: FocusDirection = FocusDirection.Down) : ScreenEvent()
class RequestFocus(val textFieldKey: FocusedTextFieldKey) : ScreenEvent()
object ClearFocus : ScreenEvent()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment