Skip to content

Commit

Permalink
Merge pull request b4tchkn#12 from ShebangDog/refactor-packege-structure
Browse files Browse the repository at this point in the history
パッケージ構成の見直し
  • Loading branch information
asagi71 authored Sep 1, 2020
2 parents 5b69f64 + 54de8f0 commit 97e34fa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/jp/co/cyberagent/dojo2020/DI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import androidx.room.Room
import jp.co.cyberagent.dojo2020.data.DataSource
import jp.co.cyberagent.dojo2020.data.Repository
import jp.co.cyberagent.dojo2020.data.local.LocalDataSource
import jp.co.cyberagent.dojo2020.data.local.MemoDataBase
import jp.co.cyberagent.dojo2020.data.local.db.MemoDataBase

object DI {
fun injectRepository(context: Context): DataSource {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package jp.co.cyberagent.dojo2020.data.local

import jp.co.cyberagent.dojo2020.data.DataSource
import jp.co.cyberagent.dojo2020.data.local.db.MemoDataBase
import jp.co.cyberagent.dojo2020.data.local.db.MemoEntity
import jp.co.cyberagent.dojo2020.data.model.Memo
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package jp.co.cyberagent.dojo2020.data.local
package jp.co.cyberagent.dojo2020.data.local.db

import androidx.room.Dao
import androidx.room.Insert
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package jp.co.cyberagent.dojo2020.data.local
package jp.co.cyberagent.dojo2020.data.local.db

import androidx.room.Database
import androidx.room.RoomDatabase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package jp.co.cyberagent.dojo2020.data.local
package jp.co.cyberagent.dojo2020.data.local.db

import androidx.room.ColumnInfo
import androidx.room.Entity
Expand Down

0 comments on commit 97e34fa

Please sign in to comment.