Ohanian Active Member Licensed User Longtime User May 20, 2018 #1 Hello there I have a problem in raiseEvent2 method with allowDuringPause parameter . in RecyclerView i used raiseEvent2 for getItemCount() and getItemViewType(int position) in adapter , though allowDuringPause parameter is true but while scroll if you press back button or for any reason activity is paused , the program stops . I've also tested another methods for raise. Errors : sometimes : Code: Copy activityBA' on a null object reference (@ActitivtyObject is called) and sometimes : Code: Copy Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
Hello there I have a problem in raiseEvent2 method with allowDuringPause parameter . in RecyclerView i used raiseEvent2 for getItemCount() and getItemViewType(int position) in adapter , though allowDuringPause parameter is true but while scroll if you press back button or for any reason activity is paused , the program stops . I've also tested another methods for raise. Errors : sometimes : Code: Copy activityBA' on a null object reference (@ActitivtyObject is called) and sometimes : Code: Copy Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
Erel B4X founder Staff member Licensed User Longtime User May 21, 2018 #2 Please post libraries development related questions here: https://www.b4x.com/android/forum/forums/libraries-developers-questions.32/ You should also add the full error message and the relevant code. Upvote 0
Please post libraries development related questions here: https://www.b4x.com/android/forum/forums/libraries-developers-questions.32/ You should also add the full error message and the relevant code.