本文整理汇总了Java中uk.co.senab.photoview.PhotoViewAttacher.OnViewTapListener方法的典型用法代码示例。如果您正苦于以下问题:Java PhotoViewAttacher.OnViewTapListener方法的具体用法?Java PhotoViewAttacher.OnViewTapListener怎么用?Java PhotoViewAttacher.OnViewTapListener使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类uk.co.senab.photoview.PhotoViewAttacher
的用法示例。
在下文中一共展示了PhotoViewAttacher.OnViewTapListener方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setOnViewTapListener
import uk.co.senab.photoview.PhotoViewAttacher; //导入方法依赖的package包/类
/**
* 兼容使用PhotoView原生的设置单击监听
*/
@Override
public void setOnViewTapListener(PhotoViewAttacher.OnViewTapListener listener) {
super.setOnViewTapListener(listener);
}
示例2: setOnViewTapListener
import uk.co.senab.photoview.PhotoViewAttacher; //导入方法依赖的package包/类
@Override
public void setOnViewTapListener(PhotoViewAttacher.OnViewTapListener listener) {
mAttacher.setOnViewTapListener(listener);
}
示例3: getOnViewTapListener
import uk.co.senab.photoview.PhotoViewAttacher; //导入方法依赖的package包/类
@Override
public PhotoViewAttacher.OnViewTapListener getOnViewTapListener() {
return mAttacher.getOnViewTapListener();
}
示例4: getOnViewTapListener
import uk.co.senab.photoview.PhotoViewAttacher; //导入方法依赖的package包/类
public PhotoViewAttacher.OnViewTapListener getOnViewTapListener() {
return onViewTapListener;
}
示例5: setOnViewTapListener
import uk.co.senab.photoview.PhotoViewAttacher; //导入方法依赖的package包/类
public void setOnViewTapListener(PhotoViewAttacher.OnViewTapListener onViewTapListener) {
this.onViewTapListener = onViewTapListener;
}
示例6: ImagePagerAdapter
import uk.co.senab.photoview.PhotoViewAttacher; //导入方法依赖的package包/类
public ImagePagerAdapter(final Fragment fragment, final AlbumEntry albumEntry, final PhotoViewAttacher.OnViewTapListener tapListener) {
mAlbumEntry = albumEntry;
mFragment = fragment;
mTapListener = tapListener;
}