horologist
horologist copied to clipboard
[Feature Suggestion] TextField Composable for Wear OS
In my opinion, it's crazy that we have to implement text input with startActivityForResult/RemoteInputIntentHelper etc. I think there should be a TextField composable to offer this functionality out of the box.
Would love to hear thoughts.
Discussed here
https://github.com/google/horologist/issues/1355
We could implement something, but basically combining a text input with the launch for result.
Thanks for the reference, Yuri. I think we should. Even if the behavior of TextInputs on Wear OS is to launch a popup over the entire screen and then return to the app, I think this behavior should be seamlessly encapsulated in a TextInput component.
My suggestion is to implement a composable which use KeyboardInputController classes because RemoteInput is not always supported on non-wearOS wearables like some Huawei watches and Oppo. Now is difficult to publish apps stores different from Google play because of this problem