aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/mygram/droid/HomeRows.java
AgeCommit message (Collapse)AuthorFilesLines
45 hoursFolder pictures, photo/video tile marks, folder in the viewerDanilo M.1-4/+15
Home rows and the folder header show the folder's round picture next to its name. Post tiles carry a photo or video mark in the top left, on a dark dot so it reads on bright thumbnails. The viewer shows the current post's folder picture and name in the top left; pictures come from the last loaded folder list, so before one loads only the name shows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 daysLazy-load folder content in random page orderDanilo M.1-9/+2
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>
2 daysFix lifecycle, focus loss, crossfade and tab race review findingsDanilo M.1-3/+7
- MainActivity: remove rotate callbacks in onDestroy, ignore connect results once destroyed, rotate the background only while resumed, guard the fade end action. - HomeRows: each row owns one TileAdapter over a mutable list; rebinds refill it and notifyDataSetChanged instead of setAdapter, so focus and scroll survive a sample arriving (change payload keeps the holder). - Crossfade: flip front only on onResourceReady, cancel the animation before resetting alpha. - Tab loads ignore errors from a tab that is no longer shown; Home does not fire a second /folders request while one is in flight. - Load the instance logo after login in connect(). - FolderActivity: request grid focus after layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 daysAdd main screen with top bar, Home rows, Liked and Folders tabsDanilo M.1-0/+119
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>