Package com. citymapper. sdk. cache
Types
Link copied to clipboard
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
Link copied to clipboard