downloadImage

suspend fun downloadImage(imageUrl: String): Resource<ByteArray>

Facility to automatically fetch Image directly from network

Return

a Resource of ByteArray

Parameters

imageUrl

the url of the image