app :: AppComponent :: on_create
You should build the UI at this time.
Triggers are platform specific:
Activity.onCreate
UIApplicationDelegate application:didFinishLaunchingWithOptions
# 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
redef fun on_create
do
var window = root_window
push_window window
end
lib/app/ui.nit:73,2--77,4
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
redef fun on_create
do
super
create_display
create_gamnit
create_scene
end
lib/gamnit/gamnit_linux.nit:50,2--56,4
redef fun on_create
do
app.native_activity.remove_title_bar
native_activity.insert_root_layout(root_layout_id)
super
end
lib/android/ui/ui.nit:67,2--72,4