Skip to content
This repository was archived by the owner on Apr 19, 2018. It is now read-only.

NullPointerException, call beginFakeDrag before fakeDragBy #429

@logan676

Description

@logan676

if (mViewPager.isFakeDragging() || mViewPager.beginFakeDrag()) {

java.lang.NullPointerException:   Attempt to invoke virtual method 'void   android.view.VelocityTracker.addMovement(android.view.MotionEvent)' on a null   object reference\n\tat   android.support.v4.view.ViewPager.fakeDragBy(SourceFile:2644)\n\tat   com.xxx.xxx.ui.widget.aj.onTouchEvent(SourceFile:296)\n\tat   android.view.View.dispatchTouchEvent(View.java:9414)\n\tat   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions