How to implement MVVM + Clean Architecture - Part 1

preview_player
Показать описание
In this series I show how to implement MVVM for an e-commerce app.
This part we will start with the ViewModel + Fragment.
Please don't forget to like and subscribe if you liked it.

Source code:

If you wanna know IN DETAILS how to implement check my course:

Or if you wanna have access to my course + unlimited other courses, try Skill Share:

If you wanna follow the course and can't afford it, send me a connection on LinkedIn and I will share the course with you for FREE!
Рекомендации по теме
Комментарии
Автор

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.

nikolozlatsabidze
Автор

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...

larrystreehouse
visit shbcf.ru