Package com.citymapper.sdk.cache

Types

Link copied to clipboard
class RouteCache(dataStore: DataStore<Preferences>, coroutineScope: CoroutineScope)

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
data class StoredRouteHandle(serializedSignature: String) : Parcelable