app :: AppComponent :: on_restore_state
on_save_state
Triggers are platform specific:
Activity.onCreate
, not Activity.onRestoreInstanceState
as it is trigged only if there is a previous Android specific save state.UIApplicationDelegate applicationDidEnterBackground
# The application is launching, restore its state from a previous `on_save_state`
#
# Triggers are platform specific:
# * Android: `Activity.onCreate`, _not_ `Activity.onRestoreInstanceState`
# as it is trigged only if there is a previous Android specific save state.
# * iOS: `UIApplicationDelegate applicationDidEnterBackground`
fun on_restore_state do end
lib/app/app_base.nit:99,2--105,28
redef fun on_restore_state do window.on_restore_state
lib/app/ui.nit:85,2--54
redef fun on_restore_state do for i in items do i.on_restore_state
lib/app/ui.nit:197,2--67