Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. class DictionaryAllWordsDataSourceFactory(
  2. private val repository: Repository,
  3. private val networkState: MutableLiveData<Event<NetworkMessage>>
  4. ) :
  5. DataSource.Factory<Int, Meaning>() {
  6. override fun create(): DataSource<Int, Meaning> {
  7. return DictionaryAllWordsDataSource(repository, networkState)
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement