A apty Active Member Licensed User Longtime User Apr 8, 2018 #1 When designing java library, is it possible to pass a view as parameter for example B4X: public void onClick(View v) { ba.raiseEvent(ba, eventName + "_click",value1,v); } I have tried but i get an error : java.lang.Exception: Sub btnl_click signature does not match expected signature. Please assist.
When designing java library, is it possible to pass a view as parameter for example B4X: public void onClick(View v) { ba.raiseEvent(ba, eventName + "_click",value1,v); } I have tried but i get an error : java.lang.Exception: Sub btnl_click signature does not match expected signature. Please assist.
Erel B4X founder Staff member Licensed User Longtime User Apr 8, 2018 #2 Yes. Please post Java related questions here: https://www.b4x.com/android/forum/forums/libraries-developers-questions.32/ Upvote 0
Yes. Please post Java related questions here: https://www.b4x.com/android/forum/forums/libraries-developers-questions.32/
A apty Active Member Licensed User Longtime User Apr 8, 2018 #3 noted. i have posted it here https://www.b4x.com/android/forum/threads/ba-raiseevent-pass-view-a-parameter.91649/. please assist Upvote 0
noted. i have posted it here https://www.b4x.com/android/forum/threads/ba-raiseevent-pass-view-a-parameter.91649/. please assist