Hello guys, Leakcanary gives me the log as below. ...
# android
t
Hello guys, Leakcanary gives me the log as below. can someone please suggest me to resolve this.
b
Seems you're subscribing to single (see onSuccess hint) without unsubscribing in onDestroy.
t
thanks for info. but i am still unclear can you please help me in the below code what actually went wrong. do i have to clear the list onDestroy() method when my fragment is destroyed?. i have used listener to get the response from api.
b
do you dispose your
compositeDisposable
?
t
yes i do