Skip to content

Instantly share code, notes, and snippets.

@tdcolvin
Last active June 27, 2023 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdcolvin/819183c7c5936cdf129b74dde2103bd1 to your computer and use it in GitHub Desktop.
Save tdcolvin/819183c7c5936cdf129b74dde2103bd1 to your computer and use it in GitHub Desktop.
override fun getPlanetsFlow(): Flow<WorkResult<List<Planet>>> {
return localDataSource.getPlanetsFlow()
}
override fun getPlanetFlow(planetId: String): Flow<WorkResult<Planet?>> {
return localDataSource.getPlanetFlow(planetId)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment