For example, a pop-up AlterDialog, 10 seconds, there is no "OK" or "Cancel" button, it will automatically shut down, can be realized?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Set a Timer, the time is called the Dialog dismiss () or cancel () method. Both methods basically the same, except that the cancel () will be called DialogInterface.OnCancelListener (if you register it).
Reply:
Just set a timer to determine when the Dialog! = Null && Dailog.isShowing () then Dailog.dismiss ()
Reply:
Thank tantahe and lieri111, I test to see
No comments:
Post a Comment