• If I have more than one place in the code where I need to add the exact same listenner then I found I had to keep a count so I knew I did not execute the same registration again. Otherwise I found the callback did not get called or I could not see the callback being called.

  • I would not count it, but store it in a global variable and then check it.

About

Avatar for Tx @Tx started