Android 201: Recent AsyncTask Changes

Posted by lordpenguin on Jun 28, 2012 1:52 AM EDT
The Powerbase; By Sean Catlin
Mail this story
Print this story

Ever since the first time I read the blog post “Painless Threading” over on the Android Developers blog I have used AsyncTasks quite often in my code. Just about any time I have an operation that might slow down the user interface I just throw together an AsyncTask and have it run in the background. The class is extremely easy to use.

One of my current projects is an open source project named AbianReader. This project is an Android Library that can easily make an Android application that serves as a nice looking feed reader for a web site. I use an AsyncTask to fetch an RSS stream and it is very handy. The following is an oversimplified excerpt from that project.

I can start the task by doing a simple...

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.