-
Notifications
You must be signed in to change notification settings - Fork 2
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
로띠 스플래시 액티비티 추가 #231
로띠 스플래시 액티비티 추가 #231
Conversation
val url = intent.data?.path?.substring(1).orEmpty() | ||
|
||
installSplashScreen().apply { | ||
setKeepOnScreenCondition { | ||
(splashViewModel.isSplashShow.value || splashViewModel.firstEntryScreen.value == FirstEntryScreen.Splash) && | ||
url.isBlank() | ||
} |
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.
여기 기존에 url받아와서 그냥 비어있는지만 체크하던데,,무슨 기능인지 아는사람?
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.
나는 몰라!
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.
스플래시 만든 사람이 모르면 우리도 몰라 !
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.
@ddyeon @Ahn-seokjoo
억울하오 억울하오
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.
@ddyeon
수고했음 ~~
액티비티 전환시 애니메이션 없애는게 더 나을 것 같음
val firstEntryScreen = splashViewModel.firstEntryScreen.collectAsState() | ||
if (firstEntryScreen.value != FirstEntryScreen.Splash) { | ||
val imm = getSystemService(Context.INPUT_METHOD_SERVICE) as? InputMethodManager | ||
firstEntryScreen?.let { |
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.
이거 firstEntryScreen null인 케이스가 있음? 있다면 빈 화면만 나올 것 같은뎅
val userId = Settings.Secure.getString(contentResolver, Settings.Secure.ANDROID_ID) | ||
splashViewModel.checkUserToken(userId) | ||
|
||
val url = intent.data?.path?.substring(1).orEmpty() |
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.
쓰는데가 없는뎅 ??
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.
웅 그래서 지우려고햇는데,, 기존에 main에 있떤 코드여서 위에서 물어본건데 아무도 모르면
지웁니다?
splashShowFlow.value = false | ||
_firstEntryScreen.value = if (getIsFirstEntryUseCase().firstOrNull() != false) FirstEntryScreen.Onboarding else FirstEntryScreen.Home | ||
} else { | ||
// Todo :: 유저 토큰 가져오기 실패에 대한 처리 해줘야함 (Like 토스트 메시지) |
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.
이거도 같이할 생각 없나~
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.
ㅋㅋ이건 호현오빠한테 토스~
@@ -7,7 +7,7 @@ import com.mashup.dorabangs.domain.model.Folder | |||
import com.mashup.dorabangs.domain.utils.isValidUrl | |||
|
|||
data class HomeState( | |||
val isLoading: Boolean = false, | |||
val isLoading: Boolean = true, |
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.
why???
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.
false로 했더니 액티비티 전환 시 컴포저블 보이고 로딩 도는 이슈가 있어서 바꿨므당
개요
작업 내용
시연 화면 (option)
2024-09-23.11.20.03.mov
To Reviers
Close
close #