am e1791add: Merge "add a null check around scrollAdapter access"
* commit 'e1791add1a19f1860084889188168ca32fdf3924': add a null check around scrollAdapter access
This commit is contained in:
@@ -407,7 +407,8 @@ public class ExpandHelper implements Gefingerpoken, OnClickListener {
|
||||
}
|
||||
|
||||
case MotionEvent.ACTION_DOWN:
|
||||
mWatchingForPull = isInside(mScrollAdapter.getHostView(), x, y);
|
||||
mWatchingForPull = mScrollAdapter != null &&
|
||||
isInside(mScrollAdapter.getHostView(), x, y);
|
||||
mLastMotionY = y;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user