Home | History | Annotate | Download | only in improving-layouts

Lines Matching full:asynctask

18   <li><a href="#AsyncTask">Use a Background Thread</a></li>
38 <h2 id="AsyncTask">Use a Background Thread</h2>
41 on drawing the UI. In many cases, using {@link android.os.AsyncTask} provides a simple way to
42 perform your work outside the main thread. {@link android.os.AsyncTask} automatically queues up all
43 the {@link android.os.AsyncTask#execute execute()} requests and performs them serially. This
47 <p>In the sample code below, an {@link android.os.AsyncTask} is used to load
52 // Using an AsyncTask to load the slow images in a background thread
53 new AsyncTask&lt;ViewHolder, Void, Bitmap>() {
77 android.os.AsyncTask} so you can enable it to run across multiple processor cores. Instead of
78 calling {@link android.os.AsyncTask#execute execute()} you can specify {@link
79 android.os.AsyncTask#executeOnExecutor executeOnExecutor()} and multiple requests can be executed at