I am expecting all listeners to be unregistered every time I am closing the view related to this controller..
BUT I tested it and it actually accumulates the listeners every time I am routing back to the view.
and after receiving the sms - the app crashes due to an error.
I highly suspect unregisterListener() doesn't really do its job.
and I saw some other issue in this topic in....
may be someone can validate it does work?
or may be I am doing something wrong?
cosider this code snippet:
I am expecting all listeners to be unregistered every time I am closing the view related to this controller.. BUT I tested it and it actually accumulates the listeners every time I am routing back to the view. and after receiving the sms - the app crashes due to an error. I highly suspect unregisterListener() doesn't really do its job. and I saw some other issue in this topic in.... may be someone can validate it does work? or may be I am doing something wrong?