Android实现图片顺时逆时旋转及拖拽显示效果(2)

[java]

image.setOnTouchListener(new ImageViewOnTouchListener());// 为image绑上触摸事件监听  

View.OnTouchListener该接口:

Interface definition for a callback to be invoked when a touch event is dispatched to this view. The callback will be invoked before the touch event is given to the view.

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wyjwjf.html