Skip to content

Instantly share code, notes, and snippets.

@jutikorn
Created December 7, 2018 12:25
Show Gist options
  • Save jutikorn/e1446ed2da0ed5af35009580502cb589 to your computer and use it in GitHub Desktop.
Save jutikorn/e1446ed2da0ed5af35009580502cb589 to your computer and use it in GitHub Desktop.
class GetTodoUsecases(private val repository: TodoRepository) {
operator fun invoke() = repository.getTodos()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment