B b4auser1 Well-Known Member Licensed User Longtime User Jan 19, 2014 #1 Is it possible to use Initialize2 in B4A classes, not libs ? I tried and got error: "java.lang.RuntimeException: Object was not initialized"
Is it possible to use Initialize2 in B4A classes, not libs ? I tried and got error: "java.lang.RuntimeException: Object was not initialized"
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2014 #2 You must call Initialize first. You can leave it empty and create other initialize methods. But you must first call Initialize. Upvote 0
You must call Initialize first. You can leave it empty and create other initialize methods. But you must first call Initialize.
Q qsrtech Active Member Licensed User Longtime User Jan 19, 2014 #3 Can you call initialize from within the initialize2? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2014 #4 No. You must first call Initialize. Upvote 0
Q qsrtech Active Member Licensed User Longtime User Jan 19, 2014 #5 Erel said: No. You must first call Initialize. Click to expand... Perhaps you can try and Incorporate some "overload" technology into b4a? And I don't think it's fair you can have Initialize2's and we can't lol Last edited: Jan 19, 2014 Upvote 0
Erel said: No. You must first call Initialize. Click to expand... Perhaps you can try and Incorporate some "overload" technology into b4a? And I don't think it's fair you can have Initialize2's and we can't lol