מאת - 1,003,073 עוקבים - 81 פוסטים - גלוי לכולם

Stream

Android Developers

שותף באופן ציבורי  - 
 
M update: +Colt McAnlis explains new features in the “Profile GPU Rendering” tool.

https://goo.gl/WoZ9Hk

#PERFMATTERS
 ·  תרגם
153
16
תמונת הפרופיל של Alireza Afkar
 
+Colt McAnlis Oh oh! You really speak fast! It's hard to get you! Please speak a bit slower if you can. Thanks
 ·  תרגם
הוסף תגובה...

Android Developers

שותף באופן ציבורי  - 
 
Let’s say you’ve got some 20 bitmaps being decoded on a worker thread. Well, what happens if your activity is destroyed before that work completes?

In this video Doug Stevenson explains Loaders. A super-helpful class that can give you insight into how the activity lifecycle is changing, so that you can better understand how to address threaded work that might be in flight.

https://goo.gl/xVJUe1

#Perfmatters
 ·  תרגם
148
30
תמונת הפרופיל של Akash Popatתמונת הפרופיל של Liran Barsisa
14 תגובות
 
Is there a similar mechanism that has the lifecycle of other components, other than of Activity ?
 ·  תרגם
הוסף תגובה...

Android Developers

שותף באופן ציבורי  - 
 
Swimming in Threadpools

We know that you’re an awesome engineer, and you’re using threading to the MAX. But over time, it gets harder and harder to handle how work is distributed across all those AsyncTasks and HandlerThreads. It gets especially tricky when you try to break up large blocks of work, like image processing, and find a threaded solution for it.

https://goo.gl/Z2UlFp

#Perfmatters
 ·  תרגם
260
54
תמונת הפרופיל של ashok chakravarthi
 
Your accent is pretty good. That helps me to understand the video.
 ·  תרגם
הוסף תגובה...

Android Developers

שותף באופן ציבורי  - 
 
AsyncTask is awesome, but far from a silver bullet; there’s a few nuances and tricks that come alongside this handy helper, which if you don’t pay attention to, can lead to memory leaks, headaches, and other sorts of craziness. Learn more in this video with +Colt McAnlis #Perfmatters https://goo.gl/qHpG8g
 ·  תרגם
215
54
תמונת הפרופיל של Hiren Patelתמונת הפרופיל של Stole Anastasov
2 תגובות
 
+Hiren Patel​ static inner is fine. With weak reference to the activity 
 ·  תרגם
הוסף תגובה...

Android Developers

שותף באופן ציבורי  - 
 
To become a zen-ninja of writing threaded code, you need to understand how the Android platform uses threading at the system level, and how that influences design choices & decisions in your app. Join +Colt McAnlis in this video to learn more!

#Perfmatters https://goo.gl/LlNcvy
 ·  תרגם
133
35
תמונת הפרופיל של Liran Barsisa
 
I remember there was a video by Google's developers, which talked about the new Android-Studio version, and they made fun of how long it takes to build the app these days, by fighting using light-sabers . Does anyone know where it is? I can't find it...

 ·  תרגם
הוסף תגובה...

Android Developers

שותף באופן ציבורי  - 
 
Fun fact : Modern CPUs can only handle a certain number of threads at one time. Once you get above that limit, they have to start scheduling which thread gets the next open block of CPU processing time. And even better : This can influence the performance of your Android app.

In this video +Colt McAnlis introduces the concept of thread priority, why it’s important to work with, and how to set it for threads you create, in a very sane way.

https://goo.gl/Ts3IOB
 ·  תרגם
138
33
תמונת הפרופיל של Ruan van Wykתמונת הפרופיל של Mohamed Fadel
3 תגובות
 
Classes like AsyncTask & HandlerThread ., etc Can handle thread priority on your behalf
 ·  תרגם
הוסף תגובה...

Android Developers

שותף באופן ציבורי  - 
 
Dealing with intent responses is a backbone concept to Android development, but it can be tricky: https://goo.gl/ehSnRM #Perfmatters
 ·  תרגם
149
28
תמונת הפרופיל של Daniel Park
 
Great lecture! Thanks!
 ·  תרגם
הוסף תגובה...

Android Developers

שותף באופן ציבורי  - 
 
While AsyncTask is the most useful threading class you can use, there’s some situations where it just doesn’t make sense. For example, AsyncTasks aren’t good for long-running work, or for threaded callbacks. Learn more in this video with +Colt McAnlis. #Perfmatters
https://goo.gl/yFZULo
 ·  תרגם
188
32
תמונת הפרופיל של Aleksandar Stefanovićתמונת הפרופיל של *Max Müller*
3 תגובות
 
+Aleksandar Stefanović I know about HandlerThreads since I needed to delay functions, so since I started programming
 ·  תרגם
הוסף תגובה...

Android Developers

שותף באופן ציבורי  - 
 
In this video +Colt McAnlis introduces some of the nuances of how memory and threading work together on android, and gives some tips on how you can avoid memory leaks and other issues with lifecycle changes.
#Perfmatters https://goo.gl/qlXbwn
 ·  תרגם
128
14
תמונת הפרופיל של yunfeng liתמונת הפרופיל של S.L alexander
6 תגובות
 
Save them
 ·  תרגם
הוסף תגובה...

Android Developers

שותף באופן ציבורי  - 
 
 
Android Performance Patterns Season 5 is here! Join +Colt McAnlis as he offers a high-level view to why threading is so important, in episode 1. #Perfmatters https://goo.gl/3Kiim0
 ·  תרגם
3 תגובות על הפוסט המקורי
128
16
תמונת הפרופיל של Pablo Costa Tirado (Sotti)תמונת הפרופיל של Paul Danyliuk
4 תגובות
 
Please post full YouTube links so that they are opened in YouTube app, not a Chrome Tab
 ·  תרגם
הוסף תגובה...