Skip to content

Commit

Permalink
#19 replace view package to ui package
Browse files Browse the repository at this point in the history
  • Loading branch information
ckrudals committed Feb 19, 2022
1 parent 5981804 commit eebaac5
Show file tree
Hide file tree
Showing 31 changed files with 373 additions and 172 deletions.
8 changes: 4 additions & 4 deletions presentation/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
android:theme="@style/Theme.Bamboo">

<activity
android:name=".view.SplashActivity"
android:name=".ui.SplashActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".view.admin.AdminActivity"
<activity android:name=".ui.admin.AdminActivity"
android:exported="true"/>
<activity android:name=".view.MainActivity"
<activity android:name=".ui.MainActivity"
android:exported="true"/>
<activity android:name=".view.SignInActivity"
<activity android:name=".ui.SignInActivity"
android:launchMode="singleTop"
android:exported="true"/>
</application>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.study.presentation.view
package com.study.presentation.ui

import android.os.Bundle
import android.util.Log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.study.presentation.view
package com.study.presentation.ui

//@Singleton
//class NetworkHandler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.study.presentation.view
package com.study.presentation.ui

import android.content.Intent
import android.os.Bundle
Expand All @@ -20,8 +20,8 @@ import com.study.base.base.base.BaseActivity
import com.study.data.utils.DataStoreManager
import com.study.presentation.R
import com.study.presentation.databinding.ActivitySignInBinding
import com.study.presentation.view.admin.AdminActivity
import com.study.presentation.view.admin.AuthViewModel
import com.study.presentation.ui.admin.AdminActivity
import com.study.presentation.ui.admin.AuthViewModel
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.study.presentation.view
package com.study.presentation.ui

import android.content.Intent
import android.os.Bundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.study.presentation.view.admin
package com.study.presentation.ui.admin

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.study.presentation.view.admin
package com.study.presentation.ui.admin

import android.content.Intent
import android.util.Log
Expand All @@ -23,7 +23,7 @@ import com.study.presentation.adapter.AlgorithmAdapter
import com.study.presentation.adapter.STATUS
import com.study.presentation.databinding.FragmentAdminMainBinding
import com.study.presentation.utils.DiaryUtil.Companion.DIALOG_RESULT_KEY
import com.study.presentation.view.MainActivity
import com.study.presentation.ui.MainActivity
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.coroutines.flow.collectLatest
import kotlinx.coroutines.launch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.study.presentation.view.admin
package com.study.presentation.ui.admin

import android.util.Log
import androidx.annotation.NonNull
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.study.presentation.view.admin
package com.study.presentation.ui.admin

import android.annotation.SuppressLint
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
Expand All @@ -11,7 +10,6 @@ import com.study.data.utils.DataStoreManager
import com.study.domain.model.common.LoginEntity
import com.study.domain.usecease.common.AuthUseCase
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
import javax.inject.Inject

Expand Down
Loading

0 comments on commit eebaac5

Please sign in to comment.