-
Notifications
You must be signed in to change notification settings - Fork 0
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
[PC-596] 설정 페이지 웹뷰 및 API 연결 #67
Conversation
@Serializable | ||
data class WebViewRoute(val title: String, val url: String) : SettingGraphDest() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 화면에서는 네비게이션 바가 없어져야 해서 추가했습니다!
@Composable | ||
internal fun WebViewRoute( | ||
title: String, | ||
url: String, | ||
viewModel: WebViewViewModel = hiltViewModel(), | ||
) { | ||
WebViewScreen( | ||
title = title, | ||
url = url, | ||
onBackClick = { viewModel.navigationHelper.navigate(NavigationEvent.NavigateUp) }, | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
웹뷰 화면에서는 State도 없고 MVI를 넣을필요가 전혀 없을 것 같아서 그냥 MavericksViewModel이 아니라 ViewModel Inject 시켰어용~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!! 👍 👍
1. ⭐️ 변경된 내용
2. 🖼️ 스크린샷(선택)
2025-02-13.6.12.55.mov
3. 💡 알게된 부분
위 사진 처럼 웹뷰 페이지가 뜨지 않을 때,
웹뷰 속성 아래에 아래 속성을 넣으면 해결 됨!!