marcel Active Member Licensed User Longtime User Feb 11, 2016 #1 Hi, I am beta testing new library and I need to fill in a set value. I tried to do this with a map but I got this error: B4X: java.lang.ClassCastException: anywheresoftware.b4a.objects.collections.Map$MyMap cannot be cast to java.util.Set What is the equivalent of a set in B4A? Or can I solve this by JavaObject/Reflector?
Hi, I am beta testing new library and I need to fill in a set value. I tried to do this with a map but I got this error: B4X: java.lang.ClassCastException: anywheresoftware.b4a.objects.collections.Map$MyMap cannot be cast to java.util.Set What is the equivalent of a set in B4A? Or can I solve this by JavaObject/Reflector?
marcel Active Member Licensed User Longtime User Feb 11, 2016 #3 okay, that's a problem then. Is there a way to use inline java code? Upvote 0