Good AsyncTask Hunting. (Android Performance Patterns Season 5, Ep. 4)

61 231
26
Опубликовано 15 марта 2016, 17:00
AsyncTask is awesome. It helps you get packets of work OFF the main thread, onto a worker thread, and then helps you get the results BACK to the main thread later. It’s almost one of the most useful tools you have when writing performant Android Apps.

But as Colt McAnlis shows, AsyncTask is 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.

Watch more Android Performance Patterns here: goo.gl/4ZJkY1

Join the G+ Community here : goo.gl/6ccETk

#PERFMATTERS

Subscribe to the Android Developers channel at goo.gl/GEh1ds
автотехномузыкадетское