Summary
In this chapter, we learned about the MVVM pattern and applied it to our app development. One key feature of the MVVM pattern is data binding between the view and viewmodel. We learned about data binding and used it in the implementation of our app.
We also improved the model in this chapter. We improved it by introducing two packages – KPCLib and PassXYZLib. We replaced the model in the sample code with the model in these two packages. We updated the UIs of ItemsPage
and ItemDetailPage
to reflect the changes to the model.
In the next chapter, we will refine our user stories and continue improving the UI using our knowledge of Shell and navigation.