progressDialog, 它有兩個(gè)方法dialog.cancel() 和 dialog.dimiss()
1. public void cancel ()
Since: API Level 1Cancel the dialog. This is essentially the same as calling dismiss(), but it will also call your DialogInterface.OnCancelListener (if registered).
2.public void dismiss ()
Since: API Level 1Dismiss this dialog, removing it from the screen. This method can be invoked safely from any thread. Note that you should not override this method to do cleanup when the dialog is dismissed, instead implement that in onStop().
其中,采用cancel()方法會(huì)調(diào)用DialogInterface.OnCancelListener ()。
以上就是本文的全部?jī)?nèi)容,希望本文的內(nèi)容對(duì)大家的學(xué)習(xí)或者工作能帶來(lái)一定的幫助,同時(shí)也希望多多支持VEVB武林網(wǎng)!
新聞熱點(diǎn)
疑難解答
圖片精選
網(wǎng)友關(guān)注