As the title, is there any way to remove all listeners without it's name or some thing like that?
This is what I am doing:
ref.removeEventListener(valueEventName);
As the title, is there any way to remove all listeners without it's name or some thing like that?
This is what I am doing:
ref.removeEventListener(valueEventName);
To be able to remove a listener from a query/location in Android, you need to have a reference to that listener. See the reference docs.
There is no method in the Android SDK to remove all listeners from a query/location.