damontecres / StashAppAndroidTV

Android TV App for Stash
GNU Affero General Public License v3.0
76 stars 4 forks source link

Fix crashes from very large scrolls #393

Closed damontecres closed 2 weeks ago

damontecres commented 2 weeks ago

Scrolling a far distance quickly could cause a crash. This is because it would try to load placeholders, but the presenters don't handle null items (placeholders are null).

So this PR updates the presenters to handle nulls, but also tweaks large scrolls to jump instead of smooth scroll.

Also the playlist list will now jump to the currently playing item instead of scrolling.