load

fun <Error class: unknown class>.load(url: String?, centerCrop: Boolean = true, fit: Boolean = true)

goToLik extension function that loads an image inside the ImageView

Parameters

url

is the location of the image to be shown

centerCrop

true by default, will crop the image

fit

true by default, will fit the image to the Imageview