//workflow/com.squareup.workflow1.ui.backstack/ViewStateCache/prune
prune¶
[androidJvm]
Content
fun prune(retaining: Collection<Named<*>>)
More info
To be called when the set of hidden views changes but the visible view remains the same. Any cached view state held for renderings that are not compatible those in retaining will be dropped.