Loading...

Getting a HandlerThread. (Android Performance Patterns Season 5, Ep. 5)

29,185 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Mar 22, 2016

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.

In this video Colt McAnlis shows how HandlerThread can be used to pick up the slack. This dedicated, long-running thread resource is ideal for situations where you have to process big workloads, or if you need a place to get an API result back, in a threaded manner.

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

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

#PERFMATTERS

Subscribe to the Android Developers channel at http://goo.gl/GEh1ds

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...