|
|
|
|
|
by schmuelio
1893 days ago
|
|
I didn't remember how android handles screen rotations so I went and checked, I looked on both my phone and my tablet on a plethora of apps: - YouTube - GMail - FireFox - Plex - RIF (Reddit app) - Material (HackerNews app) - Main home screen - Sudoku game All of them animated screen rotation just fine, with no blank screen or glitching. Just a smooth animation of the app screen rotating from portrait to landscape (and back). It's possible that your assumptions are outdated and - by your own admission - should switch back to Android. |
|
I have 5 of them sitting in this room!
You might not notice, but I assure you, they clear the screen then fade back in. The exceptions are apps that have to handle configuration changes anyways like games or full screen video.
It's not always a janky thing, phones have gotten fast enough that the screen redraw is easily hidden behind a half rotate followed by a fade in, but the point is that the hacks are even needed in the first place.
Their approach to configuration changes just adds a massive footgun that trips up plenty of developers. The number of high profile apps with semi-permanent bugs like "I got scrolled back to the wrong part of the page when I rotated my phone!" insane.
A future without that is only coming once we get a replacement for the current UI framework in the form of Flutter or Jetpack Compose (both of which handle configuration changes in new ways)