Created
August 22, 2021 14:25
-
-
Save Skyyo/e80a5a6881228686b77e480af7627f1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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