<pedrocorreia.net ⁄>
 

<Android - Multithreading For Performance ⁄ >




clicks: 75 75 2010-07-21 2010-07-21 goto programacao myNews programacao  Bookmark This Bookmark This


A good practice in creating responsive applications is to make sure your main UI thread does the minimum amount of work. Any potentially long task that may hang your application should be handled in a different thread. Typical examples of such tasks are network operations, which involve unpredictable delays. Users will tolerate some pauses, especially if you provide feedback that something is in progress, but a frozen application gives them no clue.

In this article, we will create a simple image downloader that illustrates this pattern. We will populate a ListView with thumbnail images downloaded from the internet. Creating an asynchronous task that downloads in the background will keep our application fast.



este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:

http://android-developers.blogspot.com/2010/07/multithreading-for-perf...




Subscribe News RSS  Subscribe News Updates by E-mail





myNews <myNews show="rand" cat="programacao" ⁄>

10 Excellent Tutorials On Creating jQuery Navigation Menu

jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event hand (...)

clicks: 32 32 2010-09-06 2010-09-06 goto url (new window) webaxes.com/201... goto myNews programacao


WanderWall - A jQuery, CSS3 &amp; HTML5 Hover-Based Interface

Today I'm going to teach you how to create a useful hover-based user interface using jQuery, CSS3, (...)

clicks: 26 26 2010-09-06 2010-09-06 goto url (new window) addyosmani.com/... goto myNews programacao


An Introduction to Developing Applications for Microsoft Silverlight

New to Silverlight? This is the session for you. This session will cover: how to get started buildin (...)

clicks: 22 22 2010-09-06 2010-09-06 goto url (new window) dotnet-tv.com/2... goto myNews programacao


JavaScript Tip: get a Random Number between two Integers

In JavaScript, we can get a Random number; however, this number is between 0 and 1 which is not very (...)

clicks: 42 42 2010-09-06 2010-09-06 goto url (new window) admixweb.com/20... goto myNews programacao


Quick Tip: Dissecting jQuery - Filters

Sporadically, over the course of each month, we'll post a "Dissecting jQuery" video quick tip. The i (...)

clicks: 34 34 2010-09-05 2010-09-05 goto url (new window) net.tutsplus.co... goto myNews programacao


Getting to Work with CSS3 Power Tools

CSS3 is one of the coolest new web technologies available to web developers right now. Using some of (...)

clicks: 28 28 2010-09-05 2010-09-05 goto url (new window) net.tutsplus.co... goto myNews programacao


Mastering the 960 Grid System

We're already familiar with the 12- and 16-column variants of 960.gs, but did you know that a 24-col (...)

clicks: 32 32 2010-09-05 2010-09-05 goto url (new window) net.tutsplus.co... goto myNews programacao


Quick Tip: Quick and Easy JavaScript Testing with "Assert"

Years ago, I learned a deceptively simple "assert" function from John Resig, for testing your JavaSc (...)

clicks: 53 53 2010-09-04 2010-09-04 goto url (new window) net.tutsplus.co... goto myNews programacao