Home | History | Annotate | Download | only in displaying-bitmaps

Lines Matching full:link

3 parent.link=index.html
36 <p>The {@link
48 {@link android.os.AsyncTask} and shows you how to handle concurrency issues.</p>
52 <p>The {@link android.os.AsyncTask} class provides an easy way to execute some work in a background
54 provided methods. Here?s an example of loading a large image into an {@link
55 android.widget.ImageView} using {@link android.os.AsyncTask} and <a
90 <p>The {@link java.lang.ref.WeakReference} to the {@link android.widget.ImageView} ensures that the
91 {@link android.os.AsyncTask} does not prevent the {@link android.widget.ImageView} and anything it
92 references from being garbage collected. There?s no guarantee the {@link android.widget.ImageView}
93 is still around when the task finishes, so you must also check the reference in {@link
94 android.os.AsyncTask#onPostExecute(Result) onPostExecute()}. The {@link android.widget.ImageView}
109 <p>Common view components such as {@link android.widget.ListView} and {@link
110 android.widget.GridView} introduce another issue when used in conjunction with the {@link
112 these components recycle child views as the user scrolls. If each child view triggers an {@link
120 {@link android.widget.ImageView} stores a reference to the most recent {@link android.os.AsyncTask}
121 which can later be checked when the task completes. Using a similar method, the {@link
124 <p>Create a dedicated {@link android.graphics.drawable.Drawable} subclass to store a reference
125 back to the worker task. In this case, a {@link android.graphics.drawable.BitmapDrawable} is used so
126 that a placeholder image can be displayed in the {@link android.widget.ImageView} while the task
148 href="#AsyncDrawable">{@code AsyncDrawable}</a> and bind it to the target {@link
164 running task is already associated with the {@link android.widget.ImageView}. If so, it attempts to
165 cancel the previous task by calling {@link android.os.AsyncTask#cancel cancel()}. In a small number
189 with a particular {@link android.widget.ImageView}:</p>
206 one associated with the {@link android.widget.ImageView}:</p>
231 <p>This implementation is now suitable for use in {@link android.widget.ListView} and {@link
233 views. Simply call {@code loadBitmap} where you normally set an image to your {@link
234 android.widget.ImageView}. For example, in a {@link android.widget.GridView} implementation this
235 would be in the {@link android.widget.Adapter#getView getView()} method of the backing adapter.</p>