diff --git a/app/src/main/java/eu/kanade/mangafeed/ui/reader/viewer/webtoon/WebtoonAdapter.java b/app/src/main/java/eu/kanade/mangafeed/ui/reader/viewer/webtoon/WebtoonAdapter.java index 3c62434b3..ccb877781 100644 --- a/app/src/main/java/eu/kanade/mangafeed/ui/reader/viewer/webtoon/WebtoonAdapter.java +++ b/app/src/main/java/eu/kanade/mangafeed/ui/reader/viewer/webtoon/WebtoonAdapter.java @@ -4,6 +4,8 @@ import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; +import android.view.animation.Animation; +import android.view.animation.AnimationUtils; import android.widget.ProgressBar; import com.davemorrissey.labs.subscaleview.ImageSource; @@ -21,13 +23,11 @@ public class WebtoonAdapter extends RecyclerView.Adapter pages; private WebtoonReader fragment; - private int maxBitmapSize; private View.OnTouchListener listener; public WebtoonAdapter(WebtoonReader fragment) { this.fragment = fragment; pages = new ArrayList<>(); - maxBitmapSize = fragment.getReaderActivity().getMaxBitmapSize(); listener = (v, event) -> fragment.onImageTouch(event); } @@ -39,7 +39,7 @@ public class WebtoonAdapter extends RecyclerView.Adapter + + + \ No newline at end of file