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

Can't Revel 100% #17

Open
vishalvanpariya opened this issue Feb 10, 2019 · 8 comments
Open

Can't Revel 100% #17

vishalvanpariya opened this issue Feb 10, 2019 · 8 comments

Comments

@vishalvanpariya
Copy link

can not revel 100% in one touch.
in PhonePe and Tez if we reveal 30% then we touch out of scrachview it will automatically reveal 100% so how can I revel 100% in this scratch card?

@sharish
Copy link
Owner

sharish commented Feb 18, 2019

@vishalvanpariya This will be addressed soon. Ability to reveal entire card will be added soon

@kashifansari786
Copy link

@sharish how to get responce when it is reveal 50%, coz i am not be able to catch in onRevealPercentChangedListener it never get 0.5 excatly so i m not be able to get responce when it scratch 50% can you help me?

@kashifansari786
Copy link

kashifansari786 commented Feb 19, 2019 via email

@vishalvanpariya
Copy link
Author

vishalvanpariya commented Feb 19, 2019

is it give 1 after complete revel?

@kashifansari786
Copy link

kashifansari786 commented Feb 19, 2019 via email

@vishalvanpariya
Copy link
Author

when you get 1.0 percentage after all done?

@kashifansari786
Copy link

kashifansari786 commented Feb 19, 2019 via email

@PriyaAroraKhatri
Copy link

PriyaAroraKhatri commented May 28, 2019

@OverRide
public void onRevealPercentChangedListener(ScratchImageView siv, float percent) {
if (percent > 0.6) {
siv.clear();
Toast.makeText(ActivityDemoScratch.this, "You Won 5000/-", Toast.LENGTH_SHORT).show();
}

        }

Try this.... you can change the percent also I am giving 0.6 as my requirement

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

No branches or pull requests

4 participants