Skip to content

Instantly share code, notes, and snippets.

@alibahaaa
Created June 25, 2022 14:14
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 alibahaaa/7daccc23426af9bd3e34f47c59d2a168 to your computer and use it in GitHub Desktop.
Save alibahaaa/7daccc23426af9bd3e34f47c59d2a168 to your computer and use it in GitHub Desktop.
class RepositoryImpl(
private val remoteDatasource: RemoteDatasource
) : KoinComponent , Repository {
override suspend fun getOrigami(): List<Entity> = remoteDatasource.fetchOrigami()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment