Oreilly - Troubleshooting Android Performance
by Yusuf Saber | Publisher: Packt Publishing | Release Date: March 2019 | ISBN: 9781838552114
Enhance your Android applications by upgrading app performance to gain maximum productivityAbout This VideoAnalyze, detect, and optimize important performant issues in your applications related to memory, network, UI, and batteriesTackle the critical areas that any developer faces in their day to day app development and quick solutions that can be implementedOptimize application performance and debug UI areas to create a flawless and superior user experienceIn DetailHave you started developing an Android application only to find the app is slower than you expected? Or that certain tasks are not working as you expected? Dealing with performance issues on Android is a common experience many developers face. Performance is a key requirement in any good app that user's don't necessarily look for, but experience every time they open an app.If the earlier questions apply to you, look no further! This course will help you overcome common performance issues on Android. In this course, we go over the important and common areas that can affect performance such as memory, network, UI, and battery. We delve into issues such as memory management, where we will look at memory leaks and tracking allocations. We also look at optimizing your user experience when working with data on the cloud. We also go into some common pitfalls when working with your UI and how to debug it. Finally, we look at ways to optimize and debug your app's battery usage to ensure that it doesn't annoy users when they've installed your app.When you're completed with this course, you will be developing applications more efficiently, without having to worry about your code affecting the performance that your users experience.
- Chapter 1 : Understanding and Analyzing Memory Usage
- The Course Overview 00:03:08
- Optimizing Your Loops 00:09:43
- StackOverflowException 00:07:05
- Loading Images 00:09:48
- Analyzing Memory Using the Memory Profiler 00:07:47
- Tracking Allocations 00:04:10
- Chapter 2 : Avoiding Memory Leaks
- What Are Memory Leaks? 00:03:44
- Find Memory Leaks with LeakCanary 00:06:30
- Common Memory Leak: Static References 00:04:28
- Common Memory Leak: Anonymous Inner-Classes 00:03:45
- Common Memory Leak: Non-Static Inner Classes 00:03:17
- Chapter 3 : Managing Cloud Connectivity Issues
- Making Requests Asynchronously on a Background Thread 00:12:30
- Analyzing Results with the Network Profiler 00:04:14
- Using Your App While a Request Is in Progress 00:03:58
- Chapter 4 : UI Analysis and Optimization
- UI Thread As a Whole 00:06:33
- View Hierarchies 00:09:08
- Debug Your Layout with the Layout Inspector 00:08:10
- Using Developer Options to Get More Information on Your UI 00:10:21
- Chapter 5 : Battery Optimizations
- Doze Mode and App Stand-By 00:06:30
- Lazy First 00:05:23
- Android: An Ecosystem 00:04:25