You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.
I am experiencing lag when first opening the app and sometimes when scrolling through the TV list.
I have some experience with Android development (although have not looked through the code) and I believe the issue is caused by the list item renderer. When the app first opens, the list items are very small as they do not yet have a banner image and so lots of the items are displayed on the screen. This causes the app to request the banner image for every visible item in the show list which causes the lag.
Expected result
If the list item view were to have a fixed height or a placeholder image while the banner loads, there would not be as many list items initially visible in the list and not as many request would be made. This should reduce the lag (not to mention that the placeholder would be asthetically pleasing :) )
Steps to reproduce
Configure a sickrage instance with a large number of shows (e.g. 100). A slower machine may be best (i.e. a raspberry pi).
From a tablet or large screen/high dpi device, connect showrage to the sickrage instance
When the show list is loading, perform some UI interaction (i.e. opening the menu drawer, scrolling)
Bonus: Scrolling the TV list fast can sometimes also lag
The text was updated successfully, but these errors were encountered:
Thanks for the detailed report.
I also noticed this issue when using the poster layout. Your solution will definitely help improve the start time.
From my investigation, the loading of the show stats also slows down the display of the list of shows.
I will improve this point in the next version of ShowsRage.
Bug report
Issue description
I am experiencing lag when first opening the app and sometimes when scrolling through the TV list.
I have some experience with Android development (although have not looked through the code) and I believe the issue is caused by the list item renderer. When the app first opens, the list items are very small as they do not yet have a banner image and so lots of the items are displayed on the screen. This causes the app to request the banner image for every visible item in the show list which causes the lag.
Expected result
If the list item view were to have a fixed height or a placeholder image while the banner loads, there would not be as many list items initially visible in the list and not as many request would be made. This should reduce the lag (not to mention that the placeholder would be asthetically pleasing :) )
Steps to reproduce
The text was updated successfully, but these errors were encountered: