Skip to content

Instantly share code, notes, and snippets.

@rozkminiacz
Created March 12, 2018 09:18
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 rozkminiacz/0ba059f2c662887b8921a7d0e51d98ef to your computer and use it in GitHub Desktop.
Save rozkminiacz/0ba059f2c662887b8921a7d0e51d98ef to your computer and use it in GitHub Desktop.
interface Repository<in T>{
fun getAll() : Single<List<T>>
fun getOne(id : String) : Single<T>
fun create(t : T)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment