Android Question How to hide CustomDialog

BarryW

Active Member
Licensed User
Longtime User
Hi masters, is there any way how to hide a custom dialog made by Andrew Graham after clicking or selecting an item from a listview inside on it. Hope someone will help. Tnx.
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

ttsolution

Member
Licensed User
Longtime User
Hi all,

How can we handle the OK_Click button event on CustomDialog

cd.Show("", "OK", "Hủy", "", Null)

I need to validate user inputs before close the dialog

Thanks for any hepl

Jonh,
 
Upvote 0

BarryW

Active Member
Licensed User
Longtime User
Dim i as Int
i = cd.Show("Yes", "No", "Cancel", Null)

If i = DialogResponse.POSITIVE Then
'Your Codes
Else If i = DialogResponse.NEGATIVE Then
'Your Codes
Else If i = DialogResponse.CANCEL Then
'Your Codes
End If

Hope this helps....
 
Upvote 0
Top