bmo
11/04/2019, 9:00 AM@Composable
functions as top level functions. but it brings a weird behavior.
Before, those functions were part of MainActivity
and the behavior was the one you can see in attachment.
Meaning, when I would change a TextField
, it would stay focused.
If I move the function as top level functions, it adds a new line on top but keep it focused on the empty one. The only difference between the two are were the functions are. Can somebody explain ?
PS : I have tried adding @Pivotal
or key(position) { ... }
around the Entry
but it doesn't change anything.https://cdn-images-1.medium.com/max/1600/1*ROZqkdir2qwa1D7iIcU1jw.gif▾
Paul Woitaschek
11/04/2019, 10:03 AMbmo
11/04/2019, 10:56 AMAndrey Kulikov
11/04/2019, 10:16 PMbmo
11/05/2019, 6:43 AM