Hi everyone,
I’ve been struggling with an issue for years but haven’t taken serious steps to resolve it until now.
Here’s the problem I’m facing:
Imagine we have two activities. In the first activity, we display a list of images that are loaded online into multiple ImageViews. When you click on any ImageView, you navigate to the second activity.
In the second activity, something happens (which isn’t relevant to my question).
The issue is this: if some of the images in the ImageViews have already loaded while others are still loading, and I click on an ImageView to move to the second activity, the image loading for the remaining ImageViews stops. The following message appears in the log:
When I return to the first activity, the remaining images don’t resume loading, and I’m forced to refresh the activity to load them again.
I’m using the SMM library to display images and I’m also using another library, developed by a friend, which is based on the powerful OkHttp3 and Okio libraries.
Could you please guide me on the most proper and efficient way to handle this issue?
Thank you!
I’ve been struggling with an issue for years but haven’t taken serious steps to resolve it until now.
Here’s the problem I’m facing:
Imagine we have two activities. In the first activity, we display a list of images that are loaded online into multiple ImageViews. When you click on any ImageView, you navigate to the second activity.
In the second activity, something happens (which isn’t relevant to my question).
The issue is this: if some of the images in the ImageViews have already loaded while others are still loading, and I click on an ImageView to move to the second activity, the image loading for the remaining ImageViews stops. The following message appears in the log:
B4X:
Object context is paused. Ignoring CallSubDelayed: JobDone
When I return to the first activity, the remaining images don’t resume loading, and I’m forced to refresh the activity to load them again.
I’m using the SMM library to display images and I’m also using another library, developed by a friend, which is based on the powerful OkHttp3 and Okio libraries.
Could you please guide me on the most proper and efficient way to handle this issue?
Thank you!