Skip to content

Commit

Permalink
move/#9: presentation 패키지로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
youjin09222 committed May 3, 2024
1 parent 6c5fcd1 commit c254cc9
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 20 deletions.
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
android:theme="@style/Theme.NOWSOPTAndroid"
tools:targetApi="31">
<activity
android:name=".MainActivity"
android:name=".test.presentation.MainActivity"
android:exported="false">
</activity>
<activity
android:name=".LoginActivity"
android:name=".test.presentation.LoginActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand All @@ -26,7 +26,7 @@
</intent-filter>
</activity>
<activity
android:name=".SignUpActivity"
android:name=".test.presentation.SignUpActivity"
android:exported="false"/>
</application>
</manifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sopt.now.test
package com.sopt.now.test.presentation

import android.os.Bundle
import android.view.LayoutInflater
Expand All @@ -10,7 +10,6 @@ import androidx.recyclerview.widget.LinearLayoutManager
import com.sopt.now.R
import com.sopt.now.databinding.FragmentHomeBinding
import com.sopt.now.test.data.Friend
import com.sopt.now.test.data.HomeViewModel
import com.sopt.now.test.data.UserPreference
import com.sopt.now.test.friend.FriendAdapter

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sopt.now.test.data
package com.sopt.now.test.presentation

import androidx.lifecycle.ViewModel
import com.sopt.now.R
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sopt.now
package com.sopt.now.test.presentation

import android.content.Intent
import android.os.Bundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package com.sopt.now
package com.sopt.now.test.presentation

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.sopt.now.R
import com.sopt.now.databinding.ActivityMainBinding
import com.sopt.now.test.HomeFragment
import com.sopt.now.test.MyPageFragment
import com.sopt.now.test.SearchFragment

class MainActivity : AppCompatActivity() {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sopt.now.test
package com.sopt.now.test.presentation

import android.os.Bundle
import android.view.LayoutInflater
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sopt.now.test
package com.sopt.now.test.presentation

import android.os.Bundle
import android.view.LayoutInflater
Expand Down Expand Up @@ -30,4 +30,4 @@ class SearchFragment: Fragment() {
super.onDestroyView()
_binding = null
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sopt.now
package com.sopt.now.test.presentation

import android.content.Intent
import android.os.Bundle
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_login.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingHorizontal="30dp"
tools:context=".LoginActivity">
tools:context=".test.presentation.LoginActivity">

<TextView
android:id="@+id/tv_login_title"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
tools:context=".test.presentation.MainActivity">

<androidx.fragment.app.FragmentContainerView
android:id="@+id/fcv_home"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_sign_up.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingHorizontal="30dp"
tools:context=".SignUpActivity">
tools:context=".test.presentation.SignUpActivity">

<TextView
android:id="@+id/tv_sign_up_title"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_mypage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingHorizontal="30dp"
tools:context=".MainActivity">
tools:context=".test.presentation.MainActivity">

<ImageView
android:id="@+id/iv_my_profile"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".test.SearchFragment">
tools:context=".test.presentation.SearchFragment">

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_friends"
Expand Down

0 comments on commit c254cc9

Please sign in to comment.