Hi,
The README.md file says that
This library supports all of the features the JS client does, including events, options and upgrading transport. Android is fully supported.
But I wasn't able to find the removeListener() method from the socket object. How can I remove a listener ?
@Mouradif You have the off method.
socket.on("YOUR_EVENT", new Emitter.Listener() {
@Override
public void call(Object... args) { ... }
}).off("YOUR_EVENT");
Yep, thanks @wedneyyuri !
Most helpful comment
@Mouradif You have the
offmethod.