SetViewContent

fun SetViewContent(savedInstanceState: Bundle? = null, extras: Bundle? = null, onKillAppProcess: () -> Unit = {})

Renders the second screen, extracting arguments from savedInstanceState or extras to determine whether to load cargo from Shuttle or from the in-memory cache.

Parameters

savedInstanceState

the saved instance state bundle, used on configuration change.

extras

the intent extras bundle, used on first launch.

onKillAppProcess

called when the user taps the "Kill Process" button.