I'm working now on my recipe screen, but I'm having a problem on how to possibly load the data, and what will I use? is it through json? pickle? shelve? or sqlite?
This is an image of my current recipe screen:
And this is I want it to be, after clicking a list is it possible to show a dialog box that contains all the ingredients?
This is the code I use on my current recipe screen
py file:
for i in range(5):
self.root.ids.sm.get_screen('menu').ids.rlist.add_widget(
MDExpansionPanel(
icon="recipe.png",
content=Content(),
panel_cls=MDExpansionPanelTwoLine(
text="Text",
secondary_text="Secondary text"
)
)
)
kv file:
<Content>
adaptive_height: True
TwoLineListItem:
text: "testrun"
secondary_text: "test"
MDBottomNavigation:
MDBottomNavigationItem:
name: 'screen 1'
text: 'List'
icon: 'home'
MDBottomNavigationItem:
name: 'screen 2'
text: 'Recipe'
icon: 'food'
ScrollView:
MDList:
id: rlist
I badly needed help in here.