-
Notifications
You must be signed in to change notification settings - Fork 1
[FEAT] 알람 아이템 삭제 동작을 다양화합니다. #187
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
Conversation
MoonsuKang
left a comment
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.
훌륭합니다
| Handler(Looper.getMainLooper()).postDelayed({ | ||
| onSwipe(id) | ||
| }, 200,) | ||
| } |
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.
P4
궁금한데 이거 LaunchedEffect+delay 로 안되나요?
Compose 생명주기에 이게 더 적합할거 같아서
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.
댓글 삭제 -> 복구 를 통해서
AlarmListItem이 사라지고 컴포지션이 되는데
그 이전 dismissState인 EndToStart 를 그대로 가져가더라고요.
스택 오버플로우의 글을 보고 confirmValueChange 를 통해 currentValue는 변화시키지 않되, EndToStart 상태로 이동하는 애니메이션 시간을 벌기 위해서 해당 코드를 썼습니다.
Related issue 🛠
closed #184
어떤 변경사항이 있었나요?
CheckPoint ✅
PR이 다음 요구 사항을 충족하는지 확인하세요.
Work Description ✏️
Screen_Recording_20250301_152536__.mp4
Screen_Recording_20250303_012647__.mp4
Uncompleted Tasks 😅
N/A
To Reviewers 📢
그럼 죽어라고 하기에는 코드가 복잡...