Skip to content

Instantly share code, notes, and snippets.

View moxgeek's full-sized avatar
👁️
LESS IS MORE

MoxGeek moxgeek

👁️
LESS IS MORE
View GitHub Profile
@moxgeek
moxgeek / MoxGeekImageView.java
Last active June 8, 2020 11:47
image zoom in/out , double tap, pinch , drag for gallery with RecyclerView. use setRecyclerView to freez your recycler while performing any kind of zooming gestures.
package com.nexy.nexinun.voipapp.utils;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.PointF;
import android.graphics.RectF;
import android.util.AttributeSet;