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