Table Of Contents
AdaptersΒΆ
New in version 1.5.0.
An adapter is an intermediating controller-type class that builds views for top-level widgets, interacting with data as prescribed by parameters. On the view side is AbstractView, which is the base view for ListView.
Adapters: The base Adapter is subclassed by SimpleListAdapter and by ListAdapter. Further, DictAdapter is subclass of ListAdapter.
Models: The data for which an adapter serves as a bridge to views can be any sort of data. However, as a convenience, model mixin classes can ease the preparation of data, or the shaping for use in the system. For selection operations, SelectableDataItem can optionally prepare data items to provide and receive selection information (data items are not required to be “selection-aware”, but in some cases it may be desired).
Args Converters: Argument converters are made by the application programmer to do the work of converting data items to argument dictionaries suitable for instantiating views.