Application Optimizations Part#2, Yaroslav Goryachko@Viber

Опубликовано: 16 Октябрь 2024
на канале: Android Academy Minsk
802
42

Slides: https://bit.ly/2TelKuj
Telegram: https://t.me/androidacademyminsk
Facebook:   / androidacademyminsk  

There are two basic rules for writing efficient code:
Don't do work that you don't need to do.
Don't allocate the memory if you can avoid it.

Android devices have a lot of cores, so writing smooth apps is a simple task for anyone, right? Wrong. As everything on Android can be done in a lot of different ways, picking the best option can be tough. If you want to choose the most efficient method, you have to know what’s happening under the hood. Luckily, you don’t have to rely on your feelings or sense of smell, since there’s a lot of tools out there that can help you find bottlenecks by measuring and describing what’s going on. Properly optimized and smooth apps greatly improve the user experience and also drain less battery.