All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.seiko.imageloader.component.keyer.KtorUrlKeyer.kt Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
package com.seiko.imageloader.component.keyer

import com.seiko.imageloader.option.Options
import io.ktor.http.Url

class KtorUrlKeyer : Keyer {
    override fun key(data: Any, options: Options): String? {
        if (data !is Url) return null
        return data.toString()
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy