This repository was created to explain some performance issues that we may have on our Android Apps, anyone interested in learn and improve themselves are welcome to take a look at it.
You can find the tech talk here: https://youtu.be/FOb1bPlJLfs
We cover the following topics:
- Overdraw
- feature/overdraw-issue
- feature/overdraw-fix
- Layout Hierarchy
- feature/layout-hierarchy-fix
- Memory Usage
- gerardosuarez/memory_leak_context
- Compute
- gerardosuarez/performance-computation
Additionally, we have gathered some articles and courses that can help you go deeper on this topics:
- Free Performance Course from Google: https://classroom.udacity.com/courses/ud825
- Understanding Overdraw: https://www.youtube.com/watch?v=T52v50r-JfE
- Reduce Overdraw: https://developer.android.com/topic/performance/rendering/overdraw
- Inspect GPU Rendering: https://developer.android.com/topic/performance/rendering/inspect-gpu-rendering
- The Hidden Cost of Transparency: https://www.youtube.com/watch?v=wIy8g8yNhNk
- Performance and View Hierarchies: https://developer.android.com/topic/performance/rendering/optimizing-view-hierarchies
- Constraint Layout Code Lab: https://codelabs.developers.google.com/codelabs/constraint-layout/#0
- ViewStub: https://developer.android.com/reference/android/view/ViewStub
- Merge & Include: https://developer.android.com/training/improving-layouts/reusing-layouts
- Android Memory Profiler Getting Started: https://www.raywenderlich.com/4557771-android-memory-profiler-getting-started
- Memory Leaks in Android: https://www.raywenderlich.com/4690472-memory-leaks-in-android