-
-
Save othiagosouto/b961d7067aa0faad91fddee8c24d96b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.tsouto.mvvmkotlinbreedsample.data | |
/** | |
* Created by tsouto on 28/03/18. | |
*/ | |
class BreedRepository(private val dogCeoDataSource: BreedDataSource) : BreedDataSource { | |
override fun listAll(success: (List<Breed>) -> Unit, failure: () -> Unit) { | |
dogCeoDataSource.listAll(success, failure) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment