The application is completely hidden from the user

It may then be destroyed or go back to a paused state with on_restart.

Triggers are platform specific:

  • Android: Activity.onStop
  • iOS: UIApplicationDelegate applicationDidEnterBackground

Property definitions

app $ AppComponent :: on_stop
	# The application is completely hidden from the user
	#
	# It may then be destroyed or go back to a paused state with `on_restart`.
	#
	# Triggers are platform specific:
	# * Android: `Activity.onStop`
	# * iOS: `UIApplicationDelegate applicationDidEnterBackground`
	fun on_stop do end
lib/app/app_base.nit:76,2--83,19

app :: ui $ App :: on_stop
	redef fun on_stop do window.on_stop
lib/app/ui.nit:83,2--36

gamnit :: flat_core $ App :: on_stop
	redef fun on_stop
	do
		super

		# Close gamnit
		var display = display
		if display != null then display.close
	end
lib/gamnit/flat/flat_core.nit:473,2--480,4

app $ CompositeControl :: on_stop
	redef fun on_stop do for i in items do i.on_stop
lib/app/ui.nit:195,2--49