I'm trying to set up a custom dialog but I'm receiving this error on compiling and CustomDialog isn't working properly in my code.
The error:
My code:
The error:
B4X:
Error description: Unknown type: customdialog
Are you missing a library reference?
Occurred on line: 15
Dim saveAreaDialog As CustomDialog
My code:
B4X:
Sub Globals
Dim saveAreaDialog as CustomDialog
End Sub
Sub FirstTimeCheck
If settings.Get(firstTimeOpen) = 0
settings.Put(firstTimeOpen, 1)
saveAreaDialog.Show("Choose storage location", "Where shall I save notes to?", "Internal", "", "External", Null)
End Sub