Hello,
When I implement the B4XPreference dialog in the B4Xmainpage, I get the following error when I reach the line
with the error:
Error occurred on line: 95 (B4XDialog)
java.lang.ClassCastException: com.cs.pref1.b4xmainpage cannot be cast to android.view.View
Line 95 is obviously not a code line, but must be somewhere else (?)
Someone had a similar problem ? I am stuck - help is very much appreciated.
Thanks,
Chris
When I implement the B4XPreference dialog in the B4Xmainpage, I get the following error when I reach the line
B4X:
Wait For (prefdialog.ShowDialog(Options1, "OK", "CANCEL")) Complete (Result As Int)
with the error:
Error occurred on line: 95 (B4XDialog)
java.lang.ClassCastException: com.cs.pref1.b4xmainpage cannot be cast to android.view.View
Line 95 is obviously not a code line, but must be somewhere else (?)
Someone had a similar problem ? I am stuck - help is very much appreciated.
Thanks,
Chris