Open qwecde123456 opened 6 years ago
attacher.setOnPhotoTapListener(new PhotoViewAttacher.OnPhotoTapListener() { @Override public void onPhotoTap(View view, float x, float y) { dismiss(); }
@Override public void onOutsidePhotoTap() { } });
像这个onOutsidePhotoTap的方法是否存在? 现在需求是要点击图片的外部,谢了。
attacher.setOnPhotoTapListener(new PhotoViewAttacher.OnPhotoTapListener() { @Override public void onPhotoTap(View view, float x, float y) { dismiss(); }
像这个onOutsidePhotoTap的方法是否存在? 现在需求是要点击图片的外部,谢了。