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

Property definitions

app $ AppComponent :: on_restore_state
	# 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

app :: ui $ App :: on_restore_state
	redef fun on_restore_state do window.on_restore_state
lib/app/ui.nit:85,2--54

app $ CompositeControl :: on_restore_state
	redef fun on_restore_state do for i in items do i.on_restore_state
lib/app/ui.nit:197,2--67