1 min readJan 1, 2019
Dispose the Disposable in OnDestroyView and It will work.
override fun onDestroyView() {
super.onDestroyView()
if (!disposable.isDisposed) disposable.dispose()
}
Dispose the Disposable in OnDestroyView and It will work.
override fun onDestroyView() {
super.onDestroyView()
if (!disposable.isDisposed) disposable.dispose()
}
Senior Software Engineer at OpenLane Inc, Open source contributor at Mifos Initiative and mentoring GSoC Students. https://github.com/therajanmaurya