How to clear a KivyMD MDList of all of the dynamically created Items? Example:
for x in range(10):
item = OneLineListItem(text=str(x))
self.List.add_widget(item)
We've got a list with 10 items now. I want to create a function that will remove all of them leaving the list empty. Is there any inside function to get something like that?