Hello guys,
Leakcanary gives me the log as below. can someone please suggest me to resolve this.
b
bezrukov
06/28/2020, 8:49 PM
Seems you're subscribing to single (see onSuccess hint) without unsubscribing in onDestroy.
t
TarunY
06/29/2020, 3:36 AM
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.