Fix: change di location

This commit is contained in:
Emelyanov535 2023-12-07 17:33:21 +04:00
parent 10b53b7f81
commit 4bf376ce3f
5 changed files with 6 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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