Hello,
I'm new to B4XDialogs and I'm try to implement a Yes/Cancel simple dialog (without custom layout) like this:
"Do you want to do this?" "Yes" "Cancel"
If response = "yes" then
'Do this...
If response = "Cancel" then
'Do nothing...
How to do this using B4XDialog (XUI Views) ?
I trying to implement it like this:
But I got this error:
Thanks in advance for your preciuos help
Luca.
I'm new to B4XDialogs and I'm try to implement a Yes/Cancel simple dialog (without custom layout) like this:
"Do you want to do this?" "Yes" "Cancel"
If response = "yes" then
'Do this...
If response = "Cancel" then
'Do nothing...
How to do this using B4XDialog (XUI Views) ?
I trying to implement it like this:
B4X:
DialogReg.Title = "B4XDialog Title"
DialogReg.Show("Do you want to do this?", "Yes", "", "Cancel")
But I got this error:
B4X:
Error occurred on line: 191 (B4XDialog)
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null object reference
at cutethings.android.botegapp.b4xdialog$ResumableSub_ShowCustom.resume(b4xdialog.java:1254)
......
Thanks in advance for your preciuos help
Luca.