personally i would say that your ui layer, in this case activty should not contain logic, i mean when, if - elses etc. you can use pattern strategy to handle this situation and your ui layer will just observe changes, and this when(state) will happen in different interface or sealed class.
When to use state flow when to use live data? I hear that we need a real time observer for observing the live data change...
personally i would say that your ui layer, in this case activty should not contain logic, i mean when, if - elses etc. you can use pattern strategy to handle this situation and your ui layer will just observe changes, and this when(state) will happen in different interface or sealed class.
Hey Nikolaz, that sounds like a nice proposal, do you have an example somewhere I can check?
@@Renaro my comment is deleted when I am writing down a link of github, I can message you on linkedin if you want
thanks bro good job
Happy to hear!
Live saver course