Android Question Xcustomlistview crash?

MbedAndroid

Active Member
Licensed User
Longtime User
getting a report from firebase which i can't locate exactly. seems to be related to xcustomlistview.
All used xcustomlistviews are initialized by the designer.
How this can happen?

Fatal Exception: java.lang.RuntimeException

Object should first be initialized (B4XView).
anywheresoftware.b4a.AbsObjectWrapper.getObject (AbsObjectWrapper.java:67)


com.test.xcustomlistview._vvvvvvvvvvvvvvvvvvvvvvvvvvv1 (xcustomlistview.java:420)
vvvvvvvvvvvvvvvvvvvvvvvvvvv1=getitemfromview
 

MbedAndroid

Active Member
Licensed User
Longtime User
invoked by this line SpotList.RemoveAt(SpotList.GetItemFromView(Sender))
Cant trace when this occured.
remove this line, and rebuild the spotlist again. Might be saver....
 
Upvote 0
Top