toImageDescriptor
fun DrawableResolver?.toImageDescriptor(imageType: ImageType = ImageType.DEFAULT): ImageDescriptor?
Content copied to clipboard
A convenience function to map a nullable DrawableResolver to an ImageDescriptor with the provided imageType.
fun DrawableResolver.toImageDescriptor(imageType: ImageType = ImageType.DEFAULT): ImageDescriptor
Content copied to clipboard
A convenience function to map a DrawableResolver to an ImageDescriptor with the provided imageType.
fun LiveData<DrawableResolver?>.toImageDescriptor(imageType: ImageType = ImageType.DEFAULT): LiveData<ImageDescriptor?>
Content copied to clipboard
fun LiveData<DrawableResolver?>.toImageDescriptor(imageType: LiveData<ImageType>): LiveData<ImageDescriptor?>
Content copied to clipboard
A convenience function to create a LiveData mapping from a nullable DrawableResolver to an ImageDescriptor with the provided imageType.
fun LiveData<DrawableResolver>.toImageDescriptor(imageType: ImageType = ImageType.DEFAULT): LiveData<ImageDescriptor>
Content copied to clipboard
fun LiveData<DrawableResolver>.toImageDescriptor(imageType: LiveData<ImageType>): LiveData<ImageDescriptor>
Content copied to clipboard
A convenience function to create a LiveData mapping from a DrawableResolver to an ImageDescriptor with the provided imageType.