Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnLoadMoreListener #481

Open
mohammadaminha opened this issue Feb 1, 2018 · 1 comment
Open

OnLoadMoreListener #481

mohammadaminha opened this issue Feb 1, 2018 · 1 comment

Comments

@mohammadaminha
Copy link

mohammadaminha commented Feb 1, 2018

Im getting
UltimateRecyclerView$OnLoadMoreListener.loadMore(int, int)' on a null object reference
after coming back to list !
Here's the full log:
java.lang.NullPointerException: Attempt to invoke interface method 'void com.marshalchen.ultimaterecyclerview.UltimateRecyclerView$OnLoadMoreListener.loadMore(int, int)' on a null object reference at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.scroll_load_more_detection(UltimateRecyclerView.java:476) at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.access$300(UltimateRecyclerView.java:61) at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView$2.onScrolled(UltimateRecyclerView.java:498) at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:4722) at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:4891) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:871) at android.view.Choreographer.doCallbacks(Choreographer.java:683) at android.view.Choreographer.doFrame(Choreographer.java:616) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:857) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6077) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)

@jjhesk
Copy link
Collaborator

jjhesk commented Jul 18, 2020

make sure the pointer is not removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants