UI components • Data displaying • Should wrap main View objects and provide them to lower levels • Android API specific stuff which does require Activity Context
and it’s data. It should: • Handle UI events • Update UI based on events • Communicate with ViewModel to update / gather data • Should use Data Binding framework
should take care of: • View state operations • Persist over UI configuration changes • View related data operations • Should use Observer pattern to notify changes
data necessary for the ViewModel and should push them there. Should take care of: • Data operation to / from various data sources • ViewModel-ready data preparation
- You should be patient and careful when building the base. - If you are going for a huge project. => Don’t reinvent the wheel. http://www.memes.com/img/635087