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

리워드 홈 배너 및 팝업 기능 추가 #114

Merged
merged 54 commits into from
Jul 28, 2024

Conversation

nohjunh
Copy link
Member

@nohjunh nohjunh commented Jul 24, 2024

  • 홈화면에 카카오 공유하기 버튼 추가 (divider deco 제거)
  • 비로그인 상태에서 보이는 리워드 배너 추가
  • 로그인 상태에서 보이는 리워드 팝업 추가
  • 프리텐다드 negative space로 인한 타이머 좌우 움직임 해결을 위해 타이머 부분에만 프리텐다드 제거

rewardRepository.getHomeRewardBanner()
.shareIn(
scope = viewModelScope,
started = SharingStarted.WhileSubscribed(1000L),
Copy link
Member

Choose a reason for hiding this comment

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

[질문]
여기에 WhileSubscribed를 주어야 하는 이유가 있는거야?? (궁금)

Copy link
Member Author

Choose a reason for hiding this comment

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

HomeScreen에 진입했을 때 수집하고 다른 화면으로 이동했을 때는 수집을 중지하기 위함이라고 생각했어!

Copy link
Member

Choose a reason for hiding this comment

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

이 플로우를 구독하고 있는 곳(fragment)에서
flowWithLifecycle(viewLifecycleOwner.lifecycle, Lifecycle.State.STARTED) 하고 있으니까
화면 이동할때(onStop)는 collect가 중단되지 않아?
(= WhileSubscribed가 굳이 필요 없을 것 같다는 뜻)

@juhwankim-dev
Copy link
Member

juhwankim-dev commented Jul 25, 2024

이거 바로 develop에 넣지 말구
내가 develop에서 feat-115/reward 브랜치 따놨으니까
여기에 넣어주라 !

내꺼까지 /reward에 들어가면 그때 develop에 넣자!

@juhwankim-dev
Copy link
Member

응모하고 xx 받기나
카카오 로그인하고 나서 이벤트 페이지로 진입할 때 호출할 함수 하나 만들고
안에 내용 비워서 todo 달아주세용

그래야 이거 머지되면 내가 safeNavigate만 작성해서 바로 동작하게 할 수 있을 것 같아!

@nohjunh nohjunh changed the base branch from develop to feat-115/reward July 27, 2024 07:09
@nohjunh nohjunh linked an issue Jul 27, 2024 that may be closed by this pull request
@nohjunh nohjunh merged commit 1c0aec5 into feat-115/reward Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

리워드 홈 배너 및 툴팁 작업
2 participants