NetworkImageDecoder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun decode(url: String): Bitmap?

suspend fun decode(url: String, width: Int, height: Int): Bitmap?

Fetches a url from network and decodes them to a Bitmap with the specified width and height.