Version

Quick search

Table Of Contents

SimpleListAdapter

New in version 1.5.

Deprecated since version 1.10.0: The feature has been deprecated.

Warning

This code is still experimental, and its API is subject to change in a future version.

The SimpleListAdapter is used for basic lists. For example, it can be used for displaying a list of read-only strings that do not require user interaction.

class kivy.adapters.simplelistadapter.SimpleListAdapter(**kwargs)[source]

Bases: kivy.adapters.adapter.Adapter

A SimpleListAdapter is an adapter around a Python list.

From Adapter, the ListAdapter gets cls, template, and args_converter properties.

data

The data list property contains a list of objects (which 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 instantiating the item view class instances.

data is a ListProperty and defaults to [].