Initial commit
This commit is contained in:
27
sources/com/bottle/hp/album/photoview/HackyViewPager.java
Normal file
27
sources/com/bottle/hp/album/photoview/HackyViewPager.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.bottle.hp.album.photoview;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.MotionEvent;
|
||||
import androidx.viewpager.widget.ViewPager;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class HackyViewPager extends ViewPager {
|
||||
public HackyViewPager(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Override // androidx.viewpager.widget.ViewPager, android.view.ViewGroup
|
||||
public boolean onInterceptTouchEvent(MotionEvent motionEvent) {
|
||||
try {
|
||||
return super.onInterceptTouchEvent(motionEvent);
|
||||
} catch (IllegalArgumentException e) {
|
||||
e.printStackTrace();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public HackyViewPager(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user