package de.eightbitboy.hijacr.views;

import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;

public class ViewPagerImproved extends ViewPager {

	public ViewPagerImproved(Context context) {
		super(context);
	}

	public ViewPagerImproved(Context context, AttributeSet attrs) {
		super(context, attrs);
	}
}

@@ -138,16 +138,86 @@
 buteSet;
+%0Aimport android.view.MotionEvent;%0A%0Aimport com.orhanobut.logger.Logger;
 %0A%0Apublic
@@ -421,11 +421,252 @@
 trs);%0A%09%7D
+%0A%0A%09@Override%0A%09public boolean onInterceptTouchEvent(MotionEvent ev) %7B%0A%09%09try %7B%0A%09%09%09return super.onInterceptTouchEvent(ev);%0A%09%09%7D catch (IllegalArgumentException e) %7B%0A%09%09%09Logger.w(%22Exception while zooming: %22 + e.toString());%0A%09%09%09return false;%0A%09%09%7D%0A%09%7D
 %0A%7D%0A

Fix crash while zooming