getImage

fun getImage(url: String, maxWidth: Int, maxHeight: Int, scaleType: ImageView.ScaleType, onSuccess: (Bitmap) -> Unit, onError: (Exception) -> Unit)