Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Syex
Created May 8, 2018 12:20
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 Syex/10fa8b8671fbf929e22b0cf700ec3346 to your computer and use it in GitHub Desktop.
Save Syex/10fa8b8671fbf929e22b0cf700ec3346 to your computer and use it in GitHub Desktop.
class SampleRepositoryImpl(private val emitter: Emitter) : SampleRepository {
override fun getData(): Observable<Data> = emitter.stateObservable()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment