MDList
Hello.
I use the MDlist class and OneLineAvatarIconListItem. It's working, but I want you to select a line by calling another screen by passing the name that is selected. Follow the code below:
sv = ScrollView(do_scroll_x=False, pos=(1,1), pos_hint={'top': 1})
gl = MDList()
for linha in linhas: item = OneLineAvatarIconListItem() item.text = linha[0] foto = './fotos/'+linha[0]+'.jpg'
myAvatar = AvatarSampleWidget(source = foto)
item.add_widget(myAvatar)
icon = IconRightSampleWidget()
icon.icon = "menu"
item.add_widget(icon)
gl.add_widget(item)