getSavedInstanceState

fun getSavedInstanceState(shuttle: Shuttle, outState: Bundle): Bundle

Bundles the currently retrieved image model into outState using Shuttle so it can be restored safely after a configuration change.

Return

the bundle with the cargo added.

Parameters

shuttle

the Shuttle instance used to bundle the cargo.

outState

the bundle to write the cargo into.