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

commonMain.com.seiko.imageloader.component.mapper.StringUriMapper.kt Maven / Gradle / Ivy

package com.seiko.imageloader.component.mapper

import com.eygraber.uri.Uri
import com.seiko.imageloader.option.Options

class StringUriMapper : Mapper {
    override fun map(data: Any, options: Options): Uri? {
        if (data !is String) return null
        return Uri.parseOrNull(data)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy