Closed Normalnick12 closed 2 years ago
Hi @Normalnick12! I just checked the issue. The loading process was initially designed to load on the Main dispatcher, but I guess I missed setting the context to the scope. On the other hand, the network requests will run on the IO thread, so it would be okay. Thanks for reporting an issue & suggestion and this will be fixed on our next release. Thank you!
The bug has been fixed in version 1.0.3, thanks you for the library!
Hi, there seems to be a bug when uploading multiple images with Glide. For example, calling the
avatarView1.loadImage(cats.take(4))
method will result in an error:The error refers to this code
Since Glide loads images on the main thread, it seems that we can fix this problem by adding
launch(Dispatchers.Main)
toBut not sure if that would be the right decision.