Skip to content

Conversation

@hoyahozz
Copy link
Member

📝 작업 내용


  • 버튼 클릭 시 과도하게 POST 요청을 하지 않도록 중복 클릭 방지 로직을 구현하였습니다.
  • Back 더블 클릭 시 빈 화면이 출력되지 않도록 safePopBackStack 함수를 구현하였습니다.
  • 로딩 컴포넌트를 구현하였습니다.
  • POST 전송 시 로딩 컴포넌트가 출력되도록 구현하였습니다.

📸 실행 화면

default.mp4

🙆🏻 리뷰 요청 사항

NONE

👀 레퍼런스

@hoyahozz hoyahozz added ✨ Feat 기능 구현 🎨 Design UI 및 디자인 작업 🌲 정호 김씨 집안 큰행님 김정호 labels Feb 14, 2025
@github-actions github-actions bot requested a review from SeonJeongk February 14, 2025 10:56
@hoyahozz hoyahozz added this to the 4차 스프린트 milestone Feb 14, 2025
@hoyahozz hoyahozz changed the title 중복 클릭 방지 및 로딩 출력 구현 [TNT-251][TNT-238] 중복 클릭 방지 및 로딩 출력 구현 Feb 14, 2025
Copy link
Contributor

@SeonJeongk SeonJeongk left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 💯 👍

Comment on lines +5 to +12
/**
* Back button 연속 클릭 시 빈 화면이 출력되는 현상 방지
*/
fun NavController.safePopBackStack() {
if (currentBackStackEntry?.lifecycle?.currentState == androidx.lifecycle.Lifecycle.State.RESUMED) {
popBackStack()
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@hoyahozz hoyahozz merged commit c5baa66 into develop Feb 14, 2025
6 checks passed
@hoyahozz hoyahozz deleted the fix/TNT-251 branch February 14, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feat 기능 구현 🌲 정호 김씨 집안 큰행님 김정호 🎨 Design UI 및 디자인 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TNT-251] POST 요청 시 중복 클릭 방지 [TNT-238] 로딩 출력

3 participants