ViewDataController
ViewDataController is responsible for managing the data related to views. It extends DataController and uses a specific strategy to handle data operations.
This controller maintains both the list of AppData objects and the list of ViewData, which represent the underlying data for the views. It provides methods to add, remove, and update these list. Additionally, it supports ordering of the ViewData items.
This also provides method to listen to changes of the ViewData list.
Parameters
See also
Properties
The immutable copy of list of AppData objects backed by _appDataList
The order of the ViewData list. When set, the list will be re-submitted with the new order.
Functions
Adds a list of AppData to the current list, filtering out duplicates.
Removes a single AppData element from the current list.
Removes a list of AppData from the controller.
Sets the list of app data.