toImageDescriptor
A convenience function to map a nullable DrawableResolver to an ImageDescriptor with the provided imageType.
A convenience function to map a DrawableResolver to an ImageDescriptor with the provided imageType.
fun LiveData<DrawableResolver?>.toImageDescriptor(imageType: ImageType = ImageType.DEFAULT): LiveData<ImageDescriptor?>
fun LiveData<DrawableResolver?>.toImageDescriptor(imageType: LiveData<ImageType>): LiveData<ImageDescriptor?>
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>
fun LiveData<DrawableResolver>.toImageDescriptor(imageType: LiveData<ImageType>): LiveData<ImageDescriptor>
A convenience function to create a LiveData mapping from a DrawableResolver to an ImageDescriptor with the provided imageType.