Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class DictionaryAllWordsDataSourceFactory(
- private val repository: Repository,
- private val networkState: MutableLiveData<Event<NetworkMessage>>
- ) :
- DataSource.Factory<Int, Meaning>() {
- override fun create(): DataSource<Int, Meaning> {
- return DictionaryAllWordsDataSource(repository, networkState)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement