Skip to content
New issue

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

Is it possible to disable zoomout on the image #11

Open
punkfusion opened this issue Nov 6, 2017 · 14 comments
Open

Is it possible to disable zoomout on the image #11

punkfusion opened this issue Nov 6, 2017 · 14 comments

Comments

@punkfusion
Copy link

I need my image to be only able to zoom in

@ghost
Copy link

ghost commented Apr 23, 2018

I also need that

@okaybroda
Copy link
Owner

Enabling this should be as easy as adding a boolean flag but I can't think of a way to dismiss it.

@punkfusion
Copy link
Author

I have written some functionality for it. I cannot commit to my own branch on this repo

@ghost
Copy link

ghost commented Apr 24, 2018

can u help me please @punkfusion

@okaybroda
Copy link
Owner

@ghost
Copy link

ghost commented Apr 24, 2018

Thanks @okaybroda
can you please tell me why image in recycler view flick after touch

@punkfusion
Copy link
Author

Made a pull request with the changes

@ghost
Copy link

ghost commented Apr 25, 2018

Thanku so much @punkfusion
Awesome library @okaybroda

@ghost
Copy link

ghost commented Apr 25, 2018

My imageView still flickers on pinch start and after pinch end.....Can you plz tell me why it was happening

@ghost
Copy link

ghost commented Apr 25, 2018

The flicking is due to the line
placeholderView.background = null
inside the following code
zoomableView.post(new Runnable() {
@OverRide
public void run() {
if (dialog != null) {
if (Build.VERSION.SDK_INT >= 16) {
placeholderView.setBackground(null);
} else {
placeholderView.setBackgroundDrawable(null);
}
zoomableView.setDrawingCacheEnabled(false);
}
}
});
Can u suggest me a another way to set background null

@punkfusion
Copy link
Author

Maybe setting the background to the same color as the backdrop or even transparent instead. it shouldnt cause a UI change

@ghost
Copy link

ghost commented Apr 25, 2018

But above in library code it was taken as a drawable type

@ghost
Copy link

ghost commented Apr 25, 2018

is there any another way @punkfusion

@ghost
Copy link

ghost commented Apr 26, 2018

I m stuck in this ...can anyone suggest me another way.....pleaseee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants