-
Notifications
You must be signed in to change notification settings - Fork 33
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
UnBind OtpReader #5
Comments
@Nishikant04 As I understand, you mean the listener keeps on receiving the messages (yes it may be necessary if we need to keep receiving messages multiple times), currently workaround would be if you can handle the same using a received flag in your OTPListener if you want to receive the message only once. |
I want listener keeps on receiving the message till my fragment is present. |
@Nishikant04 In current version there is no unbind method in Receiver though, as a workaround you can use OtpReader.bind(null,""), to remove binding to your listener in your fragment's onDestroy() method and call OtpReader.bind in your fragment's onResume() |
I am not able to unBind OtpReader.
The text was updated successfully, but these errors were encountered: