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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy