Closed Jenifer-Ramsingh closed 4 years ago
@Jenifer-Ramsingh please use setOtpCompletionListener instead of setListener
private OtpView otpView;
otpView = findViewById(R.id.otp_view);
otpView.setOtpCompletionListener(new OnOtpCompletionListener() {
@Override public void onOtpCompleted(String otp) {
// do Stuff
Log.d("onOtpCompleted=>", otp);
}
});
Thanks @yaroslavsudnik now working as expected.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This has been closed with no activity
Subject of the issue
after integration the V-2.0.3 the otpView.setListener(new OnOtpCompletionListener() { @Override public void onOtpCompleted(String otp) { // do Stuff Log.d("onOtpCompleted=>", otp); } });
says
error: cannot find symbol otpView.setListener(new OnOtpCompletionListener() { ^