-
-
Save KatieBarnett/819d54d6e32bf0f0317e5e58bc7b2d67 to your computer and use it in GitHub Desktop.
Wear OS input setup
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
// Default text to be displayed before text is entered | |
val defaultText = stringResource(R.string.edit_user_input) | |
// A variable to store the received text in | |
var userInput by remember { mutableStateOf(defaultText) } | |
// A key to identify the text we are receiving when coming back from the remote input | |
val inputTextKey = "input_text" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment