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

How to hide progress and stop scrolling #18

Closed
wakirin opened this issue Jul 10, 2014 · 9 comments
Closed

How to hide progress and stop scrolling #18

wakirin opened this issue Jul 10, 2014 · 9 comments
Labels

Comments

@wakirin
Copy link

wakirin commented Jul 10, 2014

Hi, i have two questions:

  1. How to stop scrolling when one image ? I use "sliderShow.stopAutoCycle();", but how to disable for user it?
  2. I have problem when just one image in slider, problem with progress loading, he not hide if used "sliderShow.stopAutoCycle();".

And thank you for this great library.

@daimajia
Copy link
Owner

Oh, I'll have try with only one image condition.

@daimajia
Copy link
Owner

I solved these problems. Please help me to check it. If it works well, I'll push it to maven center. :-D Thank you!

@wakirin
Copy link
Author

wakirin commented Jul 11, 2014

I'm new in Android, and i don't know how to check it without maven center, because now i included all library from maven center or *.jar files , sorry.

@daimajia
Copy link
Owner

Hi,
I pushed v1.0.9 to maven center.

http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.daimajia.slider%22%20AND%20a%3A%22library%22

Please help me to check this.

@wakirin
Copy link
Author

wakirin commented Jul 11, 2014

It's work! Thank you!

@daimajia
Copy link
Owner

Oh, great, I'll release this version. Thanks for your help.

daimajia added a commit that referenced this issue Jul 11, 2014
@daimajia daimajia added bug and removed bug labels Jul 11, 2014
@ghost
Copy link

ghost commented Aug 1, 2014

I'm having the same problem, using the current version 1.0.9, and I can not for the automatic slide, use in a ListView and each scroll it adds all images in the slide

@AdityaPathak-Infy
Copy link

AdityaPathak-Infy commented Jun 29, 2016

Hi @daimajia
I have used your library for image sliding and its working fine. So thanks for developing such a great library.
Actually now i am facing small problem in your library , my requirement is that i want to stop the sliding of photos when user start manually scrolling but when user stops and after the delay of 10 seconds ,the library should start automatic slide.

Please help me over this..
I am struggling over it from past two days. So any help would be highly appreciable.

Thanks in advance.

@amalkronz
Copy link

try this, it will stop the swiping and auto Cycle in slider, it's work for me
if (imageCount < 2) { sliderShow.stopAutoCycle(); sliderShow.setPagerTransformer(false, new BaseTransformer() { @Override protected void onTransform(View view, float v) { } }); //TODO: disable indicator }

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

No branches or pull requests

4 participants