Route Cache
class RouteCache(dataStore: DataStore<Preferences>, coroutineScope: CoroutineScope)
Content copied to clipboard
Routes are large and expensive objects, so we don't want to pass them between screens/navigation destinations serialised into arguments. This cache mainly acts as a place to store routes, allowing us to only pass around signatures
Constructors
Link copied to clipboard
fun RouteCache(dataStore: DataStore<Preferences>, coroutineScope: CoroutineScope)
Content copied to clipboard