Alexander Stolte Expert Licensed User Longtime User Dec 4, 2018 #1 Hello, i use the Amir_Glide lib. and how can i load a image asynch to a imageview, without freezing the view? Because if i load my list with this lib. then the list is lagging if the image are load into the imagview. Greetings
Hello, i use the Amir_Glide lib. and how can i load a image asynch to a imageview, without freezing the view? Because if i load my list with this lib. then the list is lagging if the image are load into the imagview. Greetings
Erel B4X founder Staff member Licensed User Longtime User Dec 5, 2018 #2 You don't need any library for this except of OkHttpUtils2. It is trivial to download an image. See the DownloadImage example: https://www.b4x.com/android/forum/threads/b4x-okhttputils2-with-wait-for.79345/#content Upvote 0
You don't need any library for this except of OkHttpUtils2. It is trivial to download an image. See the DownloadImage example: https://www.b4x.com/android/forum/threads/b4x-okhttputils2-with-wait-for.79345/#content
Alexander Stolte Expert Licensed User Longtime User Dec 5, 2018 #3 No, the images are already downloaded, but i want to put the images with this lib. asynchron To the Image view. Upvote 0
No, the images are already downloaded, but i want to put the images with this lib. asynchron To the Image view.
Erel B4X founder Staff member Licensed User Longtime User Dec 5, 2018 #4 There is no reason for that. Loading a local image is a fast operation. If you are showing the images in a list then use lazy loading. Upvote 0
There is no reason for that. Loading a local image is a fast operation. If you are showing the images in a list then use lazy loading.