Conversation
c9c32fc to
308c2ce
Compare
|
Hi! I made the old code that hardcoded items per row, so I got excited to check out this better, proper implementation (= I tested it on my phone and the app crashes after a few seconds in landscape, strangely it does not happen on my tablet. Using the Small tile size leads to some performance issue, which is most likely related to #208 and #388 and not caused by this. Also, this addresses #323 perfectly (at least part of it). I do think that the scale could use some other labels: The |
|
You're right about the labels, your suggestion is more in line. I've tested the rotation several times on my phone and on a virtual device and I've never had a crash. Can you elaborate on what leads to the crash? |
|
I followed these steps:
Keeping my phone on landscape and opening the app again makes 4. repeat. I'll wait for eddyizm to see if he can replicate the crash since this is really strange. Best case scenario is just git doing the checkout wrong on my end. |
|
I rewrote this entire comment to update it with useful info. You implemented
I always test on degoogled, that's why my IDE said the file is missing. Copying the file resolved it, that's how I managed to test it the first time. Following the same file hierarchy works, it's just that during the build process files from the other variant are ignored if they are not part of the 'shared code'. I ran now the tempus variant and followed the steps to trigger the crash, this is the output from logcat. Search for the string |
|
I moved TileSizeManager to the correct directory. Thanks for the logcat; it helped me understand the problem. |
|
Nice! I tested the tempus variant and the degoogled variant in your latest commit and the crash is gone, all working as expected (= |



Instead of only increasing items per row on landscape, this PR implements a tile size manager offering 5 different sizes.
Since this calculates either the size or the number of elements to display, there is no need to detect the orientation.
Settings:
Home views:
Albums views:
XL landscape view:
M landscape view:
