initialize

fun initialize(panelManager: PanelListAdapter.PanelManager<P>, subContainerIdsAndPanelsToRestore: LinkedHashMap<Int, P>?)

Initializes the adapter, allowing it to be used by a RecyclerView. This must be called before other state is provided, such as through updatePanels.

When the system UI is recreated, subContainerIdsAndPanelsToRestore should be passed, indicating which sub-containers to restore for the panels previously presented.