recompose icon indicating copy to clipboard operation
recompose copied to clipboard

Support EditText

Open pocmo opened this issue 3 years ago • 5 comments

https://developer.android.com/reference/android/widget/EditText

 <EditText
     android:id="@+id/plain_text_input"
     android:layout_height="wrap_content"
     android:layout_width="match_parent"
     android:inputType="text"/>

pocmo avatar Sep 15 '20 07:09 pocmo

I'd like to work on this, please?

anesabml avatar Sep 29 '20 17:09 anesabml

One tricky thing here is that a TextField() will need a state. Or maybe we just ignore this in the first version and write an empty onValueChange lambda.

pocmo avatar Sep 30 '20 09:09 pocmo

Thanks for the notice, what if the layout uses DataBinding? I think it's possible to provide the implementation for onValueChange.

anesabml avatar Sep 30 '20 11:09 anesabml

Oh yeah, that would be interesting too! Let's add basic support in this issue and then file follow-up issues for those ideas? :)

pocmo avatar Sep 30 '20 12:09 pocmo

yes, sure.

anesabml avatar Sep 30 '20 12:09 anesabml