本文整理匯總了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;
}