OSDN Git Service

docs: Described why ProgressDialog is now deprecated.
authorAndrew Solovay <asolovay@google.com>
Thu, 29 Jun 2017 20:12:17 +0000 (13:12 -0700)
committerAndrew Solovay <asolovay@google.com>
Thu, 29 Jun 2017 21:01:43 +0000 (14:01 -0700)
commit4d2089c58ad0928a86d700ffed95f780bbf37646
tree5420e32eba30e72beddde31f16896ca71f8a8edd
parent564d0bf1bee6276fa347a948c3d91eca1fdc5ee4
docs: Described why ProgressDialog is now deprecated.

Per feedback from DevRel, devs should avoid ProgressDialog because
using a modal dialog to show progress is a bad user experience.
Updating the ProgressDialog javadocs to say this; there's a separate
CL (http://cr/160568896) to make a similar note in the Dialogs API
guide.

Doc is staged to:

http://go/dac-stage/reference/android/app/ProgressDialog.html

Test: make ds-docs
Bug: 37565313
Change-Id: I189732fdda4532f248861e3f3d077f743f6387de
core/java/android/app/ProgressDialog.java