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.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