Skip to content

Instantly share code, notes, and snippets.

Created Aug 22, 2021
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