Android Question Issue with RecyclerView Image Loading When Switching Activities - Using SimpleMediaManager

Javaneh

Member
Hi everyone,

In my project, I’m currently using RecyclerView, but I plan to switch to CustomListView in future projects. @Erel 😁

Here’s the issue I’m facing:

Imagine I have two activities. The first one displays an online image list using RecyclerView, and the second activity shows details about the selected image (or performs another action). When an image in the list is clicked, it navigates to the second activity.

The problem is that if I click on an image and move to the second activity before all images in the RecyclerView have fully loaded, the remaining images stop loading. If I return to the first activity, the unfinished images don’t continue loading.

I’m using the SimpleMediaManager library for loading images.

Also, when this happens, the following message appears in the log:

B4X:
Sleep not resumed (context is paused): MyApp.TestProject.smmviews$ResumableSub_AddMedia

Could you guide me on how to fix this? I want the image list to continue loading when returning to the first activity, without restarting the entire RecyclerView from scratch.

Thanks
 
Top