diff --git a/kivy/uix/listview.py b/kivy/uix/listview.py index 2b20fd05e..6c57169a6 100644 --- a/kivy/uix/listview.py +++ b/kivy/uix/listview.py @@ -438,14 +438,18 @@ on_selection_change event:: list_adapter.bind(on_selection_change=callback_function) -where callback_function() does whatever is needed for the update. +where callback_function() does whatever is needed for the update. See the +example called list_master_detail.py, and imagine that the list one the left +would be a list of dog breeds, and the detail view on the right would show +details for a selected dog breed. In another example, we could set the selection_mode of a listview to 'multiple', and load it with a list of answers to a multiple-choice question. The question could have several correct answers. A color swatch view could be bound to selection change, as above, so that it turns green as soon as the correct choices are made, unless the number of touches exeeds a limit, when the -answer session would be terminated. +answer session would be terminated. See the examples that feature thumbnail +images to get some ideas, e.g., list_cascade_dict.py. In a more involved example, we could chain together three listviews, where selection in the first controls the items shown in the second, and selection in