The application is being created

You should build the UI at this time.

Triggers are platform specific:

  • Android: Activity.onCreate
  • iOS: UIApplicationDelegate application:didFinishLaunchingWithOptions

Property definitions

app $ AppComponent :: on_create
	# The application is being created
	#
	# You should build the UI at this time.
	#
	# Triggers are platform specific:
	# * Android: `Activity.onCreate`
	# * iOS: `UIApplicationDelegate application:didFinishLaunchingWithOptions`
	fun on_create do end
lib/app/app_base.nit:51,2--58,21

app :: ui $ App :: on_create
	redef fun on_create
	do
		var window = root_window
		push_window window
	end
lib/app/ui.nit:73,2--77,4

android :: audio $ App :: on_create
	redef fun on_create do
		super
		audio_manager(native_activity).request_audio_focus
		manage_audio_stream native_activity
	end
lib/android/audio.nit:718,2--722,4

gamnit :: gamnit_linux $ App :: on_create
	redef fun on_create
	do
		super
		create_display
		create_gamnit
		create_scene
	end
lib/gamnit/gamnit_linux.nit:50,2--56,4

android :: ui_test $ App :: on_create
	redef fun on_create
	do
		self.window = new Window
		super
	end
lib/android/examples/src/ui_test.nit:32,2--36,4

app $ CompositeControl :: on_create
	redef fun on_create do for i in items do i.on_create
lib/app/ui.nit:189,2--53