The KivyMD docs show the following as example of using a spinner.
MDSpinner:
id: spinner
size_hint: None, None
size: dp(46), dp(46)
pos_hint: {'center_x': .5, 'center_y': .5}
active: True if check.active else False
In my code, I have set the spinner as active: False.
Then in my python method I am using 'app.root.ids.spinner.active = True' to activate the spinner and then 'app.root.ids.spinner.active = False' to deactivate it again.
Unfortunately, this is not working. I am unsure if this is correct way of doing this.
app.root
withApp.get_running_app().root
. – John Anderson Aug 26 '20 at 17:40