Fix: change di location
This commit is contained in:
parent
10b53b7f81
commit
4bf376ce3f
@ -1,10 +1,8 @@
|
||||
package com.example.android_programming
|
||||
|
||||
import android.app.Application
|
||||
import com.example.android_programming.database.AppDatabase
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.launch
|
||||
import com.example.android_programming.di.AppContainer
|
||||
import com.example.android_programming.di.AppDataContainer
|
||||
|
||||
class App : Application() {
|
||||
lateinit var container: AppContainer
|
||||
|
@ -4,7 +4,7 @@ import androidx.paging.ExperimentalPagingApi
|
||||
import androidx.paging.Pager
|
||||
import androidx.paging.PagingConfig
|
||||
import androidx.paging.PagingData
|
||||
import com.example.android_programming.AppContainer
|
||||
import com.example.android_programming.di.AppContainer
|
||||
import com.example.android_programming.api.BackendService
|
||||
import com.example.android_programming.api.SneakerRemoteMediator
|
||||
import com.example.android_programming.api.model.toSneaker
|
||||
|
@ -4,7 +4,7 @@ import androidx.paging.Pager
|
||||
import androidx.paging.PagingConfig
|
||||
import androidx.paging.PagingData
|
||||
import androidx.paging.PagingSource
|
||||
import com.example.android_programming.AppContainer
|
||||
import com.example.android_programming.di.AppContainer
|
||||
import com.example.android_programming.businessLogic.repo.SneakerRepository
|
||||
import com.example.android_programming.database.dao.SneakerDao
|
||||
import com.example.android_programming.model.Sneaker
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.example.android_programming
|
||||
package com.example.android_programming.di
|
||||
|
||||
import com.example.android_programming.api.repository.RestSneakerRepository
|
||||
import com.example.android_programming.api.repository.RestUserRepository
|
@ -1,4 +1,4 @@
|
||||
package com.example.android_programming
|
||||
package com.example.android_programming.di
|
||||
|
||||
import android.content.Context
|
||||
import com.example.android_programming.api.BackendService
|
Loading…
Reference in New Issue
Block a user