I have 1-3 Icon buttons with varying icons inside ...
# compose
t
I have 1-3 Icon buttons with varying icons inside a column depending on a state. Now I want to animate when these change, one might be added or removed while one is kept, similar to how list items in a lazy column is animated on entry/exit. Is it ok to use a lazy column for this few items, that are always visible or is there some other method that feels less overkill?
Thinking it over the answer might be a
Column
with a for loop over the buttons and then set an
AnimatedContent
on each item inside the column