Skip to content

7주차 필수과제#22

Open
l2zh wants to merge 1 commit into6주차-필수,심화from
7주차-필수과제

Hidden character warning

The head ref may contain hidden characters: "7\uc8fc\ucc28-\ud544\uc218\uacfc\uc81c"
Open

7주차 필수과제#22
l2zh wants to merge 1 commit into6주차-필수,심화from
7주차-필수과제

Conversation

@l2zh
Copy link
Contributor

@l2zh l2zh commented Dec 8, 2023

📌 관련 이슈

📷 screenshot

결과는 같기 때문에 생략하였습니다

📝 Work Desciption

  • 로그인, 회원가입시에 결과 처리를 StateFlow로 변경하였습니다

📚 Reference 혹은 궁금한 사항들

@l2zh l2zh self-assigned this Dec 8, 2023
@l2zh l2zh changed the base branch from develop to 6주차-필수,심화 December 8, 2023 09:09
@l2zh l2zh marked this pull request as ready for review December 8, 2023 09:10
Copy link

@pump9918 pump9918 left a comment

Choose a reason for hiding this comment

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

이미 코드가 깔끔해서 StateFlow로도 금방 바꾸네요
종강 축하~~~ 앱잼 가자~~

else -> {}
}
}
}.launchIn(lifecycleScope)

Choose a reason for hiding this comment

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

launchIn은 어떤 기능을 하는건가요?? 못보던거 같은데

Choose a reason for hiding this comment

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

저도 궁금해여

_signInState.value = UiState.Success(authInfo)
}.onFailure { throwable ->
_signInResult.value = throwable.message?.let { UiState.Failure(it) }
Timber.e(throwable.message)

Choose a reason for hiding this comment

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

다들 TImber를 엄청 좋아하시는구만

Copy link

@HAJIEUN02 HAJIEUN02 left a comment

Choose a reason for hiding this comment

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

너무 고생많으셨습니당! 많이 배워갑니둥~

import org.sopt.dosopttemplate.data.entity.auth.AuthInfo
import org.sopt.dosopttemplate.data.repository.auth.AuthRepository
import org.sopt.dosopttemplate.util.UiState
import timber.log.Timber

Choose a reason for hiding this comment

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

log가 아니라 timber를 사용해야 하는 이유가 따로 있나요?? 릴리즈했을 땐 자동으로 사라지는건가여 timber는??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7주차 필수과제

3 participants