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
how to use for first time set pin and then confirm pin.
The text was updated successfully, but these errors were encountered:
how to use for first time set pin and then confirm pin?
Sorry, something went wrong.
private ArrayList<Integer> pinValues; // TODO ............... mPinView.setPinLength(6);
private ArrayList<Integer> pinValues
// TODO ...............
mPinView.setPinLength(6);
mPinView.setAuthenticationListener(new AuthenticationListener() { @override public void onAuthenticationSuccessful() { StringBuilder pin = new StringBuilder(); for (int i = 0; i < pinValues.size(); i++) { pin.append(pinValues.get(i)); } Log.d("PIN", pin.toString()); } @Override public void onAuthenticationFailed() {} }); mPinView.setPinAuthenticator(new PinAuthenticator() { @override public PinAuthenticationState isValidPin(@nonnull ArrayList<Integer> pinDigits) { pinValues = pinDigits; return PinAuthenticationState.SUCCESS; } });
mPinView.setAuthenticationListener(new AuthenticationListener() {
@override
public void onAuthenticationSuccessful() {
StringBuilder pin = new StringBuilder();
for (int i = 0; i < pinValues.size(); i++) {
pin.append(pinValues.get(i));
}
Log.d("PIN", pin.toString());
@Override
public void onAuthenticationFailed() {}
});
mPinView.setPinAuthenticator(new PinAuthenticator() {
public PinAuthenticationState isValidPin(@nonnull ArrayList<Integer> pinDigits) {
pinValues = pinDigits;
return PinAuthenticationState.SUCCESS;
kevalpatel2106
No branches or pull requests
how to use for first time set pin and then confirm pin.
The text was updated successfully, but these errors were encountered: