Ephera@lemmy.ml 8 months ago
Delay after starting an app is essentially not a problem anymore. Most apps now come with a splash screen, so you get at least some feedback.
Lag while scrolling is still horrid. This has to do with Android apps generally being written in Java or Kotlin, which use a Stop-The-World Garbage Collector for memory management.
So, you shouldn’t expect this to be fixed any time soon.
mihies@kbin.social 8 months ago
Nah, it's not GC unless lists are really poorly implemented.
Ephera@lemmy.ml 8 months ago
Hmm, you probably mean lists shouldn’t be creating new objects (/allocating new memory) while just scrolling.
Which, yeah, I remember a colleague knowledgeable about Android saying that a
RecyclerView
specifically re-uses allocated list elements.And from the little bit of Android dev I saw, it also looked like all the APIs are designed to stop you from doing(/allocating) much while the user is merely scrolling. Then, I’m not sure what’s causing the lag…
mihies@kbin.social 8 months ago
Yep, that's the case. Who knows what's causing lags. It still can be a poorly implemented list, it could be OS doing something else it could be something else. It would be interesting testing same app on different devices.