Trouble with CustomDialogs

BrutalSnyper

Member
Licensed User
Longtime User
Hi there,

I'm using the Dialogs 2.8 library to create a few custom dialogs on my application, but when they are meant to run I receive a java.lang.NullPointerException error.

I'm using this piece of code to create the dialog, nothing else:

B4X:
Dim editOrDelete As CustomDialog
editOrDelete.Show("Would you like to edit or delete this record?", "Edit", "Cancel", "Delete", Null)

Am I correct in thinking that this should work, or have I missed something out?

Thanks!
 
Top