TimeCapsule
DevView module that shows the state history of whichever screen is currently recording via TimeCapsuleEffect, and lets a developer restore any earlier state into it.
Only one screen records at a time — whichever is topmost in the host app's own navigation — and its history resets whenever that screen leaves composition.
Integration
val modules = rememberModules {
module(module = TimeCapsule)
}Content copied to clipboard
See also
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Default number of retained entries when none is specified to TimeCapsuleEffect.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
open override fun EntryProviderScope<NavKey>.registerContent(onNavigateBack: () -> Unit, onNavigate: (NavKey) -> Unit, bottomPadding: Dp)