Eimantas Urbonas
01/28/2022, 4:26 PMChrimaeon
01/28/2022, 5:24 PMsetImageResource
is running on the main thread.Eimantas Urbonas
01/28/2022, 5:51 PMfun bind(myImage: Int) {
binding.apply {
Glide
.with(imageview1.context)
.load(myImage)
.centerCrop()
.into(imageview1)
}
}