app / com.vmadalin.android / SampleMainActivity / onCreate

onCreate

protected fun onCreate(savedInstanceState: Bundle?): Unit

Called when the activity is starting. This is where most initialization should go: calling AppCompatActivity.setContentView to inflate the activity's UI, using AppCompatActivity.findViewById to programmatically interact with widgets in the UI.

Parameters

savedInstanceState - If non-null, this fragment is being re-constructed from a previous saved state as given here.

See Also

AppCompatActivity.onCreate