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

java.lang.NullPointerException #40

Open
leelei opened this issue Jul 16, 2015 · 4 comments
Open

java.lang.NullPointerException #40

leelei opened this issue Jul 16, 2015 · 4 comments

Comments

@leelei
Copy link

leelei commented Jul 16, 2015

  JazzyRecyclerViewScrollListener scrollListener = new JazzyRecyclerViewScrollListener();
    scrollListener.setTransitionEffect(JazzyHelper.SLIDE_IN);
    mRecyclerView.addOnScrollListener(scrollListener);

if RecyclerView scroll not smooth(means got stuck)

java.lang.NullPointerException
Attempt to invoke virtual method 'android.view.ViewPropertyAnimator android.view.View.animate()' on a null object reference
com.twotoasters.jazzylistview.JazzyHelper.doJazzinessImpl(JazzyHelper.java:197)
com.twotoasters.jazzylistview.JazzyHelper.doJazziness(JazzyHelper.java:189)
com.twotoasters.jazzylistview.JazzyHelper.onScrolled(JazzyHelper.java:115)
com.twotoasters.jazzylistview.recyclerview.JazzyRecyclerViewScrollListener.onScrolled(JazzyRecyclerViewScrollListener.java:24)
android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3634)
android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:3806)
android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
android.view.Choreographer.doCallbacks(Choreographer.java:580)
android.view.Choreographer.doFrame(Choreographer.java:549)
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
android.os.Handler.handleCallback(Handler.java:739)
android.os.Handler.dispatchMessage(Handler.java:95)
android.os.Looper.loop(Looper.java:135)
android.app.ActivityThread.main(ActivityThread.java:5254)
java.lang.reflect.Method.invoke(Native Method)
java.lang.reflect.Method.invoke(Method.java:372)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
@Ashok-Varma
Copy link

It is very frequent

@BehnamMaboodi
Copy link

@leelei Check pull request #51

@Ashok-Varma
Copy link

@BehnamMabodi i have already created pull request but author was not maintaining the library. #46

@BehnamMaboodi
Copy link

@Ashok-Varma Oh yes , i didn't noticed it when i was creating my own

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

3 participants