B BrutalSnyper Member Licensed User Longtime User Sep 19, 2012 #1 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: Code: Copy 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!
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: Code: Copy 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!
thedesolatesoul Expert Licensed User Longtime User Sep 19, 2012 #2 You forgot to add a view to the dialog. Basic4android - Dialogs Upvote 0