18 мая (понедельник) пройдет вебинар Android Advanced Topic #6 — Optimization — Part 2 от Android Academy Minsk.
Регистрация на вебинар по ссылке.
There are two basic rules for writing efficient code:
- Don't do work that you don't need to do.
- Don't allocate 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.
Together with you, we will learn:
Part 2: Best practices
- Android Studio Network profiler
- Network Caching
- HTTP 2.0
- Battery profiler
- Android Studio Energy profiler
- Doze mode
- Work Manager
- Android Studio Database Inspector
- SQLite versions
- EXPLAIN QUERY PLAN
- Frame Rate & VSYNC
- FPS meter
- Junk (16 ms)
- GPU System Developers Options
- GPU Rendering
App Performance Philosophy
- Dagger, EventBus, SQLite... examples
Event-driven programming paradigm (EDP) & UI
- Android devices evolution
- Main Thread
- Eager/ Lazy init
- Dagger Lazy, Kotlin lazy
- Async dependencies init
Спасибо нашим партнерам Fitbit и EPAM.