I am currently trying to make a loading screen for Kivy application by switching screens.
#: import FadeTransition kivy.uix.screenmanager.FadeTransition
MyScreenManager:
id: myscreenmanager
transition: FadeTransition()
PreLoadScreen:
LoadingScreen:
LoginScreen:
<PreLoadScreen>:
...
<LoadingScreen>:
...
<LoginScreen>:
...
I am aware of how to change the screen by pushing a button like this.
Button:
text: 'Log In'
on_release:
app.root.current = 'somescreen'
But I could not figure out how to automatically change the screen like,
(blank screen)
~automatically fades to
-> (screen with loading animation or image)
~when some loadings are done, fades to
-> (login screen)
Is there a good way I can do this without making any action such as on_release or on_touch_down?