teller / com.levibostian.teller.repository / OnlineRepository / dispose

dispose

fun dispose(): Unit

Dispose of the OnlineRepository to shut down observing of cached data and stops refresh tasks if they have begun.

Do this in onDestroy() of your Fragment or Activity, for example.