Model
Model store and manage view-model related data in a lifecycle conscious way.
info
Model is not aware of existence of the view-model according to dependency rule of clean architecture.
#
LifecycleMost of these callbacks are optionals but can be overriden according to our needs.
#
onCreatevoid onCreate()
This callback is called by the view after creation of the view.
#
onDisposevoid onDispose()
This callback is called by the view before disposition of the view.