Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#111 Home 진입 이후 플로우 Compose Navigation 마이그레이션 작업 #127

Merged
merged 114 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
5e0b851
[chore] #111 navigation-copmose 의존성 추가
JaesungLeee Jul 4, 2023
1778dea
[feat] #111 TopLevelDestination 정의
JaesungLeee Jul 4, 2023
a069330
[style] #111 feature 패키지 생성 및 이동
JaesungLeee Jul 4, 2023
a1f8a6d
[feat] #111 KeyLinkApp 및 KeyLinkAppState 추가
JaesungLeee Jul 4, 2023
5ebede5
[feat] #111 Home화면 route 및 graph 생성
JaesungLeee Jul 4, 2023
8f27f30
[feat] #111 Signal 보내기 화면 route 및 graph 생성
JaesungLeee Jul 4, 2023
7995215
[feat] #111 최상단 route로 돌아가는 메서드 추가
JaesungLeee Jul 4, 2023
7608279
[feat] #111 채팅 화면 route 및 graph 연결
JaesungLeee Jul 4, 2023
306413b
[style] #111 네이밍 수정
JaesungLeee Jul 4, 2023
68d3051
[fix] #111 feature 패키지 이동에 따른 수정
JaesungLeee Jul 5, 2023
2584d0f
[feat] #111 네비게이션바 구현
JaesungLeee Jul 5, 2023
757e073
[feat] #111 TopLevelDestination 수정 및 Navigation Bar Icon 변경
JaesungLeee Jul 6, 2023
fd333a1
[feat] #111 App에 BottomBar 연결
JaesungLeee Jul 6, 2023
adc4a7c
[feat] #111 HomeRoute 연결 및 기존 XML HomeFragment 제거
JaesungLeee Jul 9, 2023
4a9a0cc
[feat] #111 GuideRoute 연결 및 기존 XML GuideFragment 제거
JaesungLeee Jul 9, 2023
f1d8954
[style] #111 사용되지 않는 Fragment, XML 삭제
JaesungLeee Jul 9, 2023
7f4c7f2
[style] #111 HomeActivity 네이밍 변경 -> MainActivity
JaesungLeee Jul 9, 2023
98e8533
[style] #111 GuideScreen 패키지 분리
JaesungLeee Jul 9, 2023
206ad2c
[feat] #111 SubscribeRoute 연결
JaesungLeee Jul 9, 2023
61b88cf
[feat] #111 BottomBar Visibility 수정
JaesungLeee Jul 9, 2023
44c980c
[style] #111 툴바 클릭 함수명 수정
JaesungLeee Jul 9, 2023
d52901f
[feat] #111 SignalContentRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
e922c2a
[feat] #111 SignalViewModel 생성
JaesungLeee Jul 9, 2023
c06d243
[feat] #111 BottomBar에 시그널 보내기 Graph 연결 및 Multiple BackStack 유지
JaesungLeee Jul 9, 2023
e43ea6e
[feat] #111 SignalKeywordRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
8fc70b8
[feat] #111 SignalCompleteRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
4421ab3
[refactor] #111 기존 시그널 보내기 XML Navigation Graph 삭제 및 SignalActivity 삭제
JaesungLeee Jul 9, 2023
734d6af
[chore] #111 navigation-copmose 의존성 추가
JaesungLeee Jul 4, 2023
08bbb27
[feat] #111 TopLevelDestination 정의
JaesungLeee Jul 4, 2023
44085ca
[style] #111 feature 패키지 생성 및 이동
JaesungLeee Jul 4, 2023
76dba42
[feat] #111 KeyLinkApp 및 KeyLinkAppState 추가
JaesungLeee Jul 4, 2023
16f0ab2
[feat] #111 Home화면 route 및 graph 생성
JaesungLeee Jul 4, 2023
c43249f
[feat] #111 Signal 보내기 화면 route 및 graph 생성
JaesungLeee Jul 4, 2023
d64a4c4
[feat] #111 최상단 route로 돌아가는 메서드 추가
JaesungLeee Jul 4, 2023
cf7b505
[feat] #111 채팅 화면 route 및 graph 연결
JaesungLeee Jul 4, 2023
65dfa61
[style] #111 네이밍 수정
JaesungLeee Jul 4, 2023
7cbe82a
[fix] #111 feature 패키지 이동에 따른 수정
JaesungLeee Jul 5, 2023
ca90f0e
[feat] #111 네비게이션바 구현
JaesungLeee Jul 5, 2023
efe9a1e
[feat] #111 TopLevelDestination 수정 및 Navigation Bar Icon 변경
JaesungLeee Jul 6, 2023
f3e30e0
[feat] #111 App에 BottomBar 연결
JaesungLeee Jul 6, 2023
735d06f
[feat] #111 HomeRoute 연결 및 기존 XML HomeFragment 제거
JaesungLeee Jul 9, 2023
32a1b83
[feat] #111 GuideRoute 연결 및 기존 XML GuideFragment 제거
JaesungLeee Jul 9, 2023
ebc0213
[style] #111 사용되지 않는 Fragment, XML 삭제
JaesungLeee Jul 9, 2023
38383c1
[style] #111 HomeActivity 네이밍 변경 -> MainActivity
JaesungLeee Jul 9, 2023
1a0b01c
[style] #111 GuideScreen 패키지 분리
JaesungLeee Jul 9, 2023
f774e02
[feat] #111 SubscribeRoute 연결
JaesungLeee Jul 9, 2023
b871ff7
[feat] #111 BottomBar Visibility 수정
JaesungLeee Jul 9, 2023
e4ce35d
[style] #111 툴바 클릭 함수명 수정
JaesungLeee Jul 9, 2023
6c07e34
[feat] #111 SignalContentRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
9db43ca
[feat] #111 SignalViewModel 생성
JaesungLeee Jul 9, 2023
668bdb8
[feat] #111 BottomBar에 시그널 보내기 Graph 연결 및 Multiple BackStack 유지
JaesungLeee Jul 9, 2023
ea69019
[feat] #111 SignalKeywordRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
d5595c2
[feat] #111 SignalCompleteRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
8e5ee2b
[refactor] #111 기존 시그널 보내기 XML Navigation Graph 삭제 및 SignalActivity 삭제
JaesungLeee Jul 9, 2023
81eebf4
Merge remote-tracking branch 'origin/feature/navigation-migration' in…
JaesungLeee Jul 9, 2023
fccf6c7
[fix] #111 Binding 에러 수정
JaesungLeee Jul 9, 2023
546aef6
[feat] #111 BottomBar에 채팅 Graph 연결 및 Multiple BackStack 유지
JaesungLeee Jul 9, 2023
8bccc0e
[feat] #111 ChatDetailRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
0989d6d
[feat] #111 MessageDetailRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
7d045fc
[refactor] #111 기존 채팅 XML Navigation Graph 삭제
JaesungLeee Jul 9, 2023
ac7d15e
[feat] #111 ReportRoute 연결
JaesungLeee Jul 9, 2023
5c372a3
[fix] #111 시그널 보내기 후 홈 돌아올때 백스택 제거
JaesungLeee Jul 9, 2023
92816ce
[style] #111 Home에서 NavController 함수 패키지 분리
JaesungLeee Jul 9, 2023
6558080
[feat] #111 더보기 클릭 시 SignalGraph 연결
JaesungLeee Jul 10, 2023
99d52e5
[chore] #111 navigation-copmose 의존성 추가
JaesungLeee Jul 4, 2023
8390142
[feat] #111 TopLevelDestination 정의
JaesungLeee Jul 4, 2023
244b0cb
[style] #111 feature 패키지 생성 및 이동
JaesungLeee Jul 4, 2023
0d3dc3a
[feat] #111 KeyLinkApp 및 KeyLinkAppState 추가
JaesungLeee Jul 4, 2023
c11f717
[feat] #111 Home화면 route 및 graph 생성
JaesungLeee Jul 4, 2023
610cad0
[feat] #111 Signal 보내기 화면 route 및 graph 생성
JaesungLeee Jul 4, 2023
6ebf628
[feat] #111 최상단 route로 돌아가는 메서드 추가
JaesungLeee Jul 4, 2023
a3461da
[feat] #111 채팅 화면 route 및 graph 연결
JaesungLeee Jul 4, 2023
3396660
[style] #111 네이밍 수정
JaesungLeee Jul 4, 2023
d92875b
[fix] #111 feature 패키지 이동에 따른 수정
JaesungLeee Jul 5, 2023
930b084
[feat] #111 네비게이션바 구현
JaesungLeee Jul 5, 2023
9072585
[feat] #111 TopLevelDestination 수정 및 Navigation Bar Icon 변경
JaesungLeee Jul 6, 2023
024f9bb
[feat] #111 App에 BottomBar 연결
JaesungLeee Jul 6, 2023
98ee043
[feat] #111 HomeRoute 연결 및 기존 XML HomeFragment 제거
JaesungLeee Jul 9, 2023
e8867ba
[feat] #111 GuideRoute 연결 및 기존 XML GuideFragment 제거
JaesungLeee Jul 9, 2023
49bdb56
[style] #111 사용되지 않는 Fragment, XML 삭제
JaesungLeee Jul 9, 2023
465cab1
[style] #111 HomeActivity 네이밍 변경 -> MainActivity
JaesungLeee Jul 9, 2023
1b04515
[style] #111 GuideScreen 패키지 분리
JaesungLeee Jul 9, 2023
6dfded9
[feat] #111 SubscribeRoute 연결
JaesungLeee Jul 9, 2023
13e12a8
[feat] #111 BottomBar Visibility 수정
JaesungLeee Jul 9, 2023
492d645
[style] #111 툴바 클릭 함수명 수정
JaesungLeee Jul 9, 2023
9043f9b
[feat] #111 SignalContentRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
f900ec2
[feat] #111 SignalViewModel 생성
JaesungLeee Jul 9, 2023
aa70691
[feat] #111 BottomBar에 시그널 보내기 Graph 연결 및 Multiple BackStack 유지
JaesungLeee Jul 9, 2023
86e5685
[feat] #111 SignalKeywordRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
a1ff256
[feat] #111 SignalCompleteRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
f3accec
[refactor] #111 기존 시그널 보내기 XML Navigation Graph 삭제 및 SignalActivity 삭제
JaesungLeee Jul 9, 2023
d726de6
[feat] #111 TopLevelDestination 정의
JaesungLeee Jul 4, 2023
4fce167
[feat] #111 KeyLinkApp 및 KeyLinkAppState 추가
JaesungLeee Jul 4, 2023
28691c3
[feat] #111 최상단 route로 돌아가는 메서드 추가
JaesungLeee Jul 4, 2023
e35bd67
[style] #111 네이밍 수정
JaesungLeee Jul 4, 2023
e9f9d25
[feat] #111 App에 BottomBar 연결
JaesungLeee Jul 6, 2023
ffccf1c
[feat] #111 HomeRoute 연결 및 기존 XML HomeFragment 제거
JaesungLeee Jul 9, 2023
7df1846
[feat] #111 GuideRoute 연결 및 기존 XML GuideFragment 제거
JaesungLeee Jul 9, 2023
cdd82c6
[style] #111 HomeActivity 네이밍 변경 -> MainActivity
JaesungLeee Jul 9, 2023
cbd8c69
[style] #111 GuideScreen 패키지 분리
JaesungLeee Jul 9, 2023
5f2f888
[feat] #111 SubscribeRoute 연결
JaesungLeee Jul 9, 2023
b221ebf
[feat] #111 SignalContentRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
f5b7730
[feat] #111 SignalKeywordRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
abbde12
[fix] #111 Binding 에러 수정
JaesungLeee Jul 9, 2023
eb33bda
[feat] #111 BottomBar에 채팅 Graph 연결 및 Multiple BackStack 유지
JaesungLeee Jul 9, 2023
c14884f
[feat] #111 ChatDetailRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
72e038e
[feat] #111 MessageDetailRoute 연결 및 기존 Fragment 제거
JaesungLeee Jul 9, 2023
d427d04
[refactor] #111 기존 채팅 XML Navigation Graph 삭제
JaesungLeee Jul 9, 2023
8184351
[feat] #111 ReportRoute 연결
JaesungLeee Jul 9, 2023
7e923d3
[fix] #111 시그널 보내기 후 홈 돌아올때 백스택 제거
JaesungLeee Jul 9, 2023
e8d9fa5
[style] #111 Home에서 NavController 함수 패키지 분리
JaesungLeee Jul 9, 2023
8094783
[feat] #111 더보기 클릭 시 SignalGraph 연결
JaesungLeee Jul 10, 2023
732573d
Merge remote-tracking branch 'origin/feature/navigation-migration' in…
JaesungLeee Jul 10, 2023
5f88a34
[fix] #111 Rebase Conflict 수정
JaesungLeee Jul 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions buildSrc/src/main/java/dependencies/Dep.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ object Dep {
object AndroidX {
const val appCompat = "androidx.appcompat:appcompat:1.6.1"
const val constraintLayout = "androidx.constraintlayout:constraintlayout:2.1.4"
const val constraintLayoutCompose = "androidx.constraintlayout:constraintlayout-compose:1.0.1"
const val constraintLayoutCompose =
"androidx.constraintlayout:constraintlayout-compose:1.0.1"

object Activity {
const val ktx = "androidx.activity:activity-ktx:1.2.3"
Expand All @@ -21,6 +22,7 @@ object Dep {
const val viewModel = "androidx.lifecycle:lifecycle-viewmodel-ktx:$version"
const val savedState = "androidx.lifecycle:lifecycle-viewmodel-savedstate:$version"
const val runtime = "androidx.lifecycle:lifecycle-runtime-ktx:$version"
const val runtimeCompose = "androidx.lifecycle:lifecycle-runtime-compose:$version"
const val process = "androidx.lifecycle:lifecycle-process:$version"
const val livedata = "androidx.lifecycle:lifecycle-livedata-ktx:$version"
const val compiler = "androidx.lifecycle:lifecycle-compiler:$version"
Expand All @@ -43,6 +45,11 @@ object Dep {
object Core {
const val core = "androidx.core:core-ktx:1.7.0"
}

object Hilt {
const val hiltNavigation = "androidx.hilt:hilt-navigation-compose:1.0.0"
}

}

object Google {
Expand Down Expand Up @@ -123,7 +130,8 @@ object Dep {
private const val version = "4.13.2"
const val glide = "com.github.bumptech.glide:glide:$version"
const val compiler = "com.github.bumptech.glide:compiler:$version"
const val recyclerviewIntegration = "com.github.bumptech.glide:recyclerview-integration:$version"
const val recyclerviewIntegration =
"com.github.bumptech.glide:recyclerview-integration:$version"
const val okHttpIntegration = "com.github.bumptech.glide:okhttp3-integration:$version"
}

Expand Down Expand Up @@ -154,6 +162,12 @@ object Dep {
const val uiTooling = "androidx.compose.ui:ui-tooling:$version"
const val uiTestManifest = "androidx.compose.ui:ui-test-manifest:$version"
}

object Navigation {
private const val navigationVersion = "2.6.0"
const val navigationCompose =
"androidx.navigation:navigation-compose:$navigationVersion"
}
}

object Javax {
Expand Down
7 changes: 4 additions & 3 deletions presentation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ dependencies {
// lifecycle
implementation Dep.AndroidX.Lifecycle.viewModel
implementation Dep.AndroidX.Lifecycle.savedState
implementation Dep.AndroidX.Lifecycle.compose
implementation Dep.AndroidX.Lifecycle.runtimeCompose
kapt Dep.AndroidX.Lifecycle.compiler

// ViewModel utilities for Compose
implementation Dep.AndroidX.Lifecycle.Compose.viewModel
implementation Dep.AndroidX.Lifecycle.Compose.viewModel // 추후 제거 필요
implementation Dep.AndroidX.Hilt.hiltNavigation

// glide
implementation Dep.Glide.glide
Expand All @@ -71,7 +72,6 @@ dependencies {

// hilt
implementation Dep.Dagger.Hilt.hilt
implementation Dep.Dagger.Hilt.Compose.navigation
kapt Dep.Dagger.Hilt.compiler

// navigation
Expand All @@ -91,6 +91,7 @@ dependencies {
implementation Dep.Compose.preview
implementation Dep.Compose.material
implementation Dep.AndroidX.Activity.compose
implementation Dep.Compose.Navigation.navigationCompose
androidTestImplementation Dep.Compose.Test.ui
debugImplementation Dep.Compose.Debug.uiTooling
debugImplementation Dep.Compose.Debug.uiTestManifest
Expand Down
20 changes: 11 additions & 9 deletions presentation/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,24 @@

<application>
<activity
android:name=".home.HomeActivity"
android:exported="false"
android:windowSoftInputMode="adjustResize" />
android:name=".navigation.MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".onboarding.OnBoardingActivity"
android:name=".feature.onboarding.OnBoardingActivity"
android:exported="false"
android:windowSoftInputMode="adjustResize" />

<activity
android:name=".login.LoginActivity"
android:name=".feature.login.LoginActivity"
android:exported="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

</activity>

<activity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
package com.mashup.presentation

import androidx.compose.foundation.layout.padding
import androidx.compose.material.Scaffold
import androidx.compose.material.SnackbarDuration
import androidx.compose.material.SnackbarHostState
import androidx.compose.material.SnackbarResult
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import com.mashup.presentation.navigation.KeyLinkNavHost
import com.mashup.presentation.ui.common.KeyLinkBottomBar
import com.mashup.presentation.ui.common.KeyLinkSnackBar
import com.mashup.presentation.ui.theme.Black

/**
* Ssam_D_Android
* @author jaesung
* @created 2023/07/04
*/
@Composable
fun KeyLinkApp(
appState: KeyLinkAppState = rememberKeyLinkAppState()
) {
val snackbarHostState = remember { SnackbarHostState() }

Scaffold(
bottomBar = {
if (appState.isBottomBarVisible()) {
KeyLinkBottomBar(
destinations = appState.topLevelDestinations,
onNavigateToDestination = appState::navigateToTopLevelDestination,
currentDestination = appState.currentDestination,
modifier = Modifier
)
}
},
backgroundColor = Black,
snackbarHost = { KeyLinkSnackBar(snackBarHostState = snackbarHostState) }
) { innerPadding ->
KeyLinkNavHost(
appState = appState,
modifier = Modifier.padding(innerPadding),
onShowSnackbar = { message, action ->
snackbarHostState.showSnackbar(
message = message,
actionLabel = action,
duration = SnackbarDuration.Short
) == SnackbarResult.ActionPerformed
}
)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
package com.mashup.presentation

import androidx.compose.runtime.Composable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.remember
import androidx.navigation.NavDestination
import androidx.navigation.NavGraph.Companion.findStartDestination
import androidx.navigation.NavHostController
import androidx.navigation.compose.currentBackStackEntryAsState
import androidx.navigation.compose.rememberNavController
import androidx.navigation.navOptions
import com.mashup.presentation.feature.chat.navigation.navigateToChat
import com.mashup.presentation.feature.home.navigation.navigateToHome
import com.mashup.presentation.feature.signal.navigation.navigateToSignal
import com.mashup.presentation.navigation.KeyLinkNavigationRoute
import com.mashup.presentation.navigation.TopLevelDestination

/**
* Ssam_D_Android
* @author jaesung
* @created 2023/07/04
*/

@Composable
fun rememberKeyLinkAppState(
navController: NavHostController = rememberNavController()
): KeyLinkAppState {
return remember(navController) {
KeyLinkAppState(navController)
}
}

/**
* KeyLinkAppState에는 전반적인 어플리케이션 자체의 상태가 포함됩니다.
* 1. Navigation Destination
* 2. Multiple BackStack
* 3. BottomNavigation Visibility
* 4. NetworkMonitor(isOffline / isOnline)
* 5. ...
*/
@Stable
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stable..사용하셧네요 결국 크크👏
어떤게 좋다고 합니까?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리컴포지션이 일어나는 대표적인 조건이 전달되는 파라미터 값이 변경될 때인데, KeyLinkAppState를 KeyLinkApp에 전달할 때 @stable을 통해 컴포저블 함수를 다시 그리지 않고 Skippable하게 유지할 수 있습니당
KeyLinkAppState는 일반 클래스이기 때문에 컴파일러가 Stable함을 추론할 수 없고 명시적으로 skip할 수 있도록 @stable을 붙이구용

class KeyLinkAppState(
val navController: NavHostController
) {
val currentDestination: NavDestination?
@Composable get() = navController.currentBackStackEntryAsState().value?.destination

val topLevelDestinations: List<TopLevelDestination> = TopLevelDestination.values().toList()

@Composable
fun isBottomBarVisible(): Boolean {
return when (currentDestination?.route) {
KeyLinkNavigationRoute.HomeGraph.HomeRoute.route,
KeyLinkNavigationRoute.ChatGraph.ChatRoute.route -> true
else -> false
}
}

/**
* Home, Chat Route로 다시 돌아와야 하는 경우 호출하는 메서드
* singleTop으로 동작 및 backstack 유지
*/
fun navigateToTopLevelDestination(topLevelDestination: TopLevelDestination) {
JaesungLeee marked this conversation as resolved.
Show resolved Hide resolved
val topLevelNavOptions = navOptions {
popUpTo(id = navController.graph.findStartDestination().id) {
saveState = true
}
launchSingleTop = true
restoreState = true
}
when (topLevelDestination) {
TopLevelDestination.HOME -> navController.navigateToHome(topLevelNavOptions)
TopLevelDestination.SIGNAL -> navController.navigateToSignal(topLevelNavOptions)
TopLevelDestination.CHAT -> navController.navigateToChat(topLevelNavOptions)
}
}
}

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.mashup.presentation.feature.chat

import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

/**
* Ssam_D_Android
* @author jaesung
* @created 2023/07/09
*/
@HiltViewModel
class ChatViewModel @Inject constructor() : ViewModel() {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mashup.presentation.chat.compose
package com.mashup.presentation.feature.chat.compose

import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
Expand All @@ -21,7 +21,7 @@ import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.mashup.presentation.R
import com.mashup.presentation.chat.model.Message
import com.mashup.presentation.feature.chat.model.Message
import com.mashup.presentation.ui.theme.*

/**
Expand Down
Loading