When digging through some source code I discovered Android has a hidden once() method to add an event listener that only fires once and removeAllListeners() to remove all listeners to a certain event:
Why aren't these methods documented and why not bring these to all platforms?
Both have very good use cases to me in almost every app.
I'd even suggest the following:
The last one would make cleaning up and preventing memory leaks a lot easier as well.