Skip to content

Commit 36c6a70

Browse files
author
tiansj
committed
PhotoViewWrapper,photoView.enable()
1 parent c97d07c commit 36c6a70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/yuzhi/fine/ui/photoview/PhotoViewWrapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public PhotoView getImageView() {
3636

3737
protected void init() {
3838
photoView = new PhotoView(mContext);
39+
photoView.enable();
3940
LayoutParams params = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
4041
photoView.setLayoutParams(params);
4142
this.addView(photoView);

0 commit comments

Comments
 (0)