We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码是这样设置的
@Override public Object instantiateItem(ViewGroup view, final int position) { final SketchImageView imageView = new SketchImageView(browseImageActivity); imageView.setSupportLargeImage(true); imageView.setSupportZoom(true); imageView.displayImage(list.get(position)); ViewGroup.LayoutParams layoutParams = new ViewPager.LayoutParams(); view.addView(imageView, layoutParams); ImageZoomer zoomer = imageView.getImageZoomer(); zoomer.setReadMode(true); zoomer.setOnViewLongPressListener(new ImageZoomer.OnViewLongPressListener() { @Override public void onViewLongPress(View view, float x, float y) { browseImageActivity.popWindow.showAtLocation(LayoutInflater.from(browseImageActivity).inflate(R.layout.activity_main, null), Gravity.CENTER, 0, 0); } }); return imageView; }
现象的视频发你邮箱(sky@xiaopan.me)了 跪求解决
The text was updated successfully, but these errors were encountered:
是不是一定要Viewpager+Fragment+ SketchImageView,,,直接Viewpager + SketchImageView 不可以?
Sorry, something went wrong.
2.3.0-beta2已解决此BUG,谢谢你的反馈!
No branches or pull requests
代码是这样设置的
现象的视频发你邮箱(sky@xiaopan.me)了 跪求解决
The text was updated successfully, but these errors were encountered: