- Add
ViewModel#context
field. - Add
ViewModel#mounted
field. - Add
ViewModel#didChangeDependencies
method. - Add
ViewModel#activate
method. - Add
ViewModel#deactivate
method. - Add
ViewModel#reassemble
method. - Remove
InheritedViewModel
class. - Remove
context
fromViewBuilder
andViewModelBuilder
.
- Add
InheritedViewModel
class. - Add
ViewModelBinding
class.
- Add
createViewModel
method to View.
- Optimize ViewModel creation, solve the issue of can't resolve route arguments when use Navigator.
- StatelessViewModel
- StatefulViewModel
- StatelessViewModelProvider
- StatefulViewModelProvider