Universal-Cache

    Kotlin caching and request sharing via Flow. Main idea: don't load data more times than it's needed. Compiled for Android and iOS.

    Language: kotlin

    Author: Leona Romero (@leona_romero)

    6 stars · 195 views

    Files

    • TimeProvider.native.kt (kt)
    • commonTest (txt)
    • kotlin (txt)
    • crocodile8 (txt)
    • universal_cache (txt)
    • request (txt)
    • CachedSourceNoParams.kt (kt)
    • time (txt)
    • gradle (txt)
    • wrapper (txt)
    • convention-plugins (txt)
    • src (txt)
    • main (txt)
    • kotlin (txt)
    • README.md (md)
    • app (txt)
    • src (txt)
    • test (txt)
    • java (txt)
    • crocodile8 (txt)
    • universal_cache_app (txt)
    • ExampleUnitTest.kt (kt)
    • androidTest (txt)
    • java (txt)
    • crocodile8 (txt)
    • universal_cache_app (txt)
    • ExampleInstrumentedTest.kt (kt)
    • main (txt)
    • java (txt)
    • crocodile8 (txt)
    • universal_cache_app (txt)
    • MainActivity.kt (kt)
    • res (txt)
    • values (txt)
    • mipmap-mdpi (txt)
    • TimeProvider.jvm.kt (kt)
    • nativeMain (txt)
    • kotlin (txt)
    • crocodile8 (txt)
    • universal_cache (txt)
    • time (txt)
    • universal_cache (txt)
    • FromCache.kt (kt)
    • utils (txt)
    • BooleanRef.kt (kt)
    • Logger.kt (kt)
    • request (txt)
    • Requester.kt (kt)
    • CachedSource.kt (kt)
    • ic_launcher_round.webp (image)
    • TimeProvider.iosArm64.kt (kt)
    • iosSimulatorArm64Main (txt)
    • kotlin (txt)
    • crocodile8 (txt)
    • universal_cache (txt)
    • time (txt)
    • TimeProvider.iosArm64.kt (kt)
    • jvmMain (txt)
    • ic_launcher.webp (image)
    • layout (txt)
    • drawable-v24 (txt)
    • drawable (txt)
    • xml (txt)
    • mipmap-xhdpi (txt)
    • ic_launcher_round.webp (image)
    • ic_launcher.webp (image)
    • mipmap-xxxhdpi (txt)
    • ic_launcher_round.webp (image)
    • ic_launcher.webp (image)
    • values-night (txt)
    • mipmap-xxhdpi (txt)
    • ic_launcher_round.webp (image)
    • ic_launcher.webp (image)
    • mipmap-hdpi (txt)
    • ic_launcher_round.webp (image)
    • ic_launcher.webp (image)
    • mipmap-anydpi-v26 (txt)
    • mipmap-anydpi-v33 (txt)
    • publication_steps.txt (txt)
    • src (txt)
    • iosX64Main (txt)
    • kotlin (txt)
    • crocodile8 (txt)
    • universal_cache (txt)
    • time (txt)
    • TimeProvider.iosX64.kt (kt)
    • iosArm64Main (txt)
    • kotlin (txt)
    • crocodile8 (txt)
    • universal_cache (txt)
    • time (txt)
    • kotlin (txt)
    • crocodile8 (txt)
    • universal_cache (txt)
    • RequesterTest.kt (kt)
    • CachedSourceWithMultipleParamsTest.kt (kt)
    • CachedSourceExtTest.kt (kt)
    • CachedSourceTest.kt (kt)
    • test_utils (txt)
    • AtomicInteger.kt (kt)
    • TestUtils.kt (kt)
    • CachedSourceUpdatesTest.kt (kt)
    • commonMain (txt)
    • kotlin (txt)
    • crocodile8 (txt)
    • CachedSourceExt.kt (kt)
    • UniversalCache.kt (kt)
    • CachedSourceResult.kt (kt)
    • keep (txt)
    • Cache.kt (kt)
    • CachedData.kt (kt)
    • CacheKey.kt (kt)
    • MemoryCache.kt (kt)
    • time (txt)
    • SystemTimeProvider.kt (kt)
    • TimeProvider.kt (kt)
    • jitpack.yml (yml)
    • ATTRIBUTION.md (markdown)

    Loading code snippet…