Hi all. For doing Compose views that have an edit ...
# compose-android
k
Hi all. For doing Compose views that have an edit button on them, would it be better to have separate views for the view and edit screens or an
if(isEditModeState) { /* edit box **/ }  else { Text("the text")* }
for all elements? Both from a - what’s a good practice? and what’s the performance impact? point of view
z
The latter lets you animate the transition between states on a per-element basis, which will probably look better.
Wouldn’t worry about performance until you’ve actually got that part figured out