diff options
author | Andrew Solovay <asolovay@google.com> | 2015-04-30 03:14:13 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-30 03:14:13 +0000 |
commit | 4fbdbbe8f1bbf743ea730774173667835749787e (patch) | |
tree | 6d5b464e4e7248128f181fa4e222d2a958ff047c /docs/html/guide | |
parent | f0abe000eb491f8b990d99d3159dc949f3c8e0e3 (diff) | |
parent | c15736b95d61033f03b1446371315bfa46252aaf (diff) | |
download | frameworks_base-4fbdbbe8f1bbf743ea730774173667835749787e.zip frameworks_base-4fbdbbe8f1bbf743ea730774173667835749787e.tar.gz frameworks_base-4fbdbbe8f1bbf743ea730774173667835749787e.tar.bz2 |
am c15736b9: am c2e2c7d5: Merge "docs: Minor formatting cleanup." into lmp-mr1-ub-docs
* commit 'c15736b95d61033f03b1446371315bfa46252aaf':
docs: Minor formatting cleanup.
Diffstat (limited to 'docs/html/guide')
-rw-r--r-- | docs/html/guide/components/processes-and-threads.jd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/html/guide/components/processes-and-threads.jd b/docs/html/guide/components/processes-and-threads.jd index e7ef7ba..10a6410 100644 --- a/docs/html/guide/components/processes-and-threads.jd +++ b/docs/html/guide/components/processes-and-threads.jd @@ -274,7 +274,8 @@ android.view.View#post(java.lang.Runnable) View.post(Runnable)} method:</p> public void onClick(View v) { new Thread(new Runnable() { public void run() { - final Bitmap bitmap = loadImageFromNetwork("http://example.com/image.png"); + final Bitmap bitmap = + loadImageFromNetwork("http://example.com/image.png"); mImageView.post(new Runnable() { public void run() { mImageView.setImageBitmap(bitmap); @@ -323,7 +324,7 @@ private class DownloadImageTask extends AsyncTask<String, Void, Bitmap> { protected Bitmap doInBackground(String... urls) { return loadImageFromNetwork(urls[0]); } - + /** The system calls this to perform work in the UI thread and delivers * the result from doInBackground() */ protected void onPostExecute(Bitmap result) { |