Permalink
Browse files

Example 36: Use a ListAdapter with the rendering class defaulting to …

…Label.
  • Loading branch information...
1 parent 374d6a5 commit f57cdbebe2decf07c78c180a425186d5bdb196bc @buchuki committed Jul 9, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 orkiv/orkiv.kv
View
6 orkiv/orkiv.kv
@@ -1,3 +1,6 @@
+#:import la kivy.adapters.listadapter
+#:import lbl kivy.uix.label
+
OrkivRoot:
<OrkivRoot>:
@@ -43,4 +46,5 @@ OrkivRoot:
<BuddyList>:
list_view: list_view
ListView:
- id: list_view
+ id: list_view
+ adapter: la.ListAdapter(data=[], cls=lbl.Label)

0 comments on commit f57cdbe

Please sign in to comment.