In order to preserve some information in activities (user choices that are not automatically saved by android like inputs are), a combination of viewmodel + livedata is being used. However, I am not 100% sure if the current implementation is optimal or if there is a cleanre way to achieve it.
In order to preserve some information in activities (user choices that are not automatically saved by android like inputs are), a combination of viewmodel + livedata is being used. However, I am not 100% sure if the current implementation is optimal or if there is a cleanre way to achieve it.