aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/mygram/droid/ViewerActivity.java
AgeCommit message (Collapse)AuthorFilesLines
38 hoursLazy-load folder content in random page orderDanilo M.1-12/+10
A folder with several thousand posts took ~10 s to open because FolderActivity and the Home row OK handler fetched every page before showing anything. Pages are now fetched one at a time in a shuffled page order (each page shuffled locally), the grid shows after the first page, and the viewer shares the list and pager so it keeps paging the folder. Reels use the same generic pager. Not a full shuffle: neighbours within a page stay together. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 hoursFix viewer timer and lifecycle review findingsDanilo M.1-8/+18
- tick() refreshes lastTick on every tick, so a failed video no longer advances at once with its whole playback time. - Photo timer counts only once the photo is shown (or failed), so a slow load cannot advance before display. - Slides started while the activity is stopped stay paused and stopped; onStart re-prepares them. - toggleLike error UI guard no longer indexes a replaced playlist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 hoursFix viewer review findingsDanilo M.1-12/+57
- Reels paging: drop page callbacks after destroy or a replaced playlist - Scope Glide loads to views and clear them in onDestroy (no deprecated Glide.with(Activity)) - Stop the player in onStop, re-prepare in onStart - Photo timer uses real elapsed time and starts when the photo is on screen - Reels: continue past the old last post when a new page arrives; "No reels" when empty - Likes: ordered single-thread executor, newer toggle wins on error, no "null" in toast - Note the unbounded frame grab limitation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 hoursAdd fullscreen viewer with blurred backdrop, auto-advance and double-OK likesDanilo M.1-0/+364
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 hoursAdd Android project skeleton and Docker buildDanilo M.1-0/+20
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>