diff options
author | Andrew Solovay <asolovay@google.com> | 2015-04-30 03:54:12 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-30 03:54:12 +0000 |
commit | a6319155211d933b88ea38b21579caf3f8c51b39 (patch) | |
tree | ae756a5504ad8a0db135b97f63cf8f85e6f1bfd2 /docs | |
parent | 8e0a661b0386703c6481b178774e2386cb25bee6 (diff) | |
parent | b60846500364e3166c4044418c0dc4b5f081054c (diff) | |
download | frameworks_base-a6319155211d933b88ea38b21579caf3f8c51b39.zip frameworks_base-a6319155211d933b88ea38b21579caf3f8c51b39.tar.gz frameworks_base-a6319155211d933b88ea38b21579caf3f8c51b39.tar.bz2 |
am b6084650: am 3500ad4c: am 4fbdbbe8: am c15736b9: am c2e2c7d5: Merge "docs: Minor formatting cleanup." into lmp-mr1-ub-docs
* commit 'b60846500364e3166c4044418c0dc4b5f081054c':
docs: Minor formatting cleanup.
Diffstat (limited to 'docs')
-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) { |