修正由于 gif 格式图片导致的崩溃

This commit is contained in:
seven332 committed 2014-04-04 23:13:33 +08:00
1 parent e1edd00fb0
commit 3aff219639
28 files changed
+661 -759

No files matched your search

@@ -1,6 +1,5 @@
package com.hippo.ehviewer.widget;
import com.hippo.ehviewer.ListUrls;
import com.hippo.ehviewer.R;
import android.content.Context;
@@ -8,7 +7,6 @@ import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.LinearInterpolator;
@@ -57,8 +55,6 @@ public class PullListView extends LinearLayout implements AbsListView.OnScrollLi
private boolean isHeaderRecored = false;
private boolean isFooterRecored = false;
private int mTouchSlop;
// Header String to show
private String mHeaderPullStr;
private String mHeaderReleaseStr;
@@ -228,14 +224,10 @@ public class PullListView extends LinearLayout implements AbsListView.OnScrollLi
mHeader.setPadding(headerOriginalLeftPadding, -headerHeight, headerOriginalRightPadding, headerOriginalBottomPadding);
mHeader.invalidate();
//mTouchSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop();
}
@Override
public void onScrollStateChanged(AbsListView view, int scrollState) {
// TODO Auto-generated method stub
}
public void onScrollStateChanged(AbsListView view, int scrollState) {}
@Override
public void onScroll(AbsListView view, int firstVisibleItem,