Swaraj
Swaraj
@peddiraju11 unbind would be to remove a listener but wasn't the original problem to have two listeners as i understand?
@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...
@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...