I am not saying that there is a memory leak, I am just asking.
When I use RXJava there is a way to dispose the observer (via dispose method) and when using live data, it takes care of this for us (but google said that explicitly in the docs), when about the object we use as a listener, do u get rid of it at a certain point, if not no problem at all u don't have to do BUT u have to tell us so that we don't create it anonymously and create it with a reference so that at the end of the job we get rid of it.
BTW, GREEEEEAAAT lib.
I am not saying that there is a memory leak, I am just asking. When I use RXJava there is a way to dispose the observer (via dispose method) and when using live data, it takes care of this for us (but google said that explicitly in the docs), when about the object we use as a listener, do u get rid of it at a certain point, if not no problem at all u don't have to do BUT u have to tell us so that we don't create it anonymously and create it with a reference so that at the end of the job we get rid of it. BTW, GREEEEEAAAT lib.