SimpleListAdapter¶
New in version 1.5.
Warning
This code is still experimental, and its API is subject to change in a future version.
SimpleListAdapter is for basic lists, such as for showing a text-only display of strings, that have no user interaction.
- class kivy.adapters.simplelistadapter.SimpleListAdapter(**kwargs)¶
Bases: kivy.adapters.adapter.Adapter
SimpleListAdapter is an adapter around a Python list.
From Adapter, ListAdapter gets cls, template, and args_converter properties.
- data¶
The data list property contains a list of objects (can be strings) that will be used directly if no args_converter function is provided. If there is an args_converter, the data objects will be passed to it for instantiation of item view class instances from the data.
data is a ListProperty, default to [].