资源说明:RotatePhotoView
Adding Rotation with two finger function on PhotoView
Set Up
Gradle
compile "com.chensl.rotatephotoview:rotatephotoview:1.0.5"
and don't forget to add jcenter() to repositories
Usage
in code
you need to enable rotation, by default it's false.
PhotoViewAttacher attacher = new PhotoViewAttacher(mImageView);
attacher.setRotatable(true);
set rotate listener
photoView.setOnViewRotateListener(new PhotoViewAttacher.OnViewRotateListener() {
@Override
public void onRotate(int de
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。