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

[Refactor] onBackPressed 제거 #538

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

kongwoojin
Copy link
Collaborator

요약

onBackPressed 제거

개발 내용

  • ActivityBase에 onBackPressedCallback을 추가했습니다.
  • onBackPressed 대신 onBackPressedCallback을 override 하도록 수정했습니다.
  • onBackPressed()를 호출하던 부분을 전부 onBackPressedDispatcher.onBackPressed()를 호출하도록 수정했습니다.
  • 기존에 ActivityBase를 상속하던 Activity 중, 이미 onBackPressedCallback을 사용하는 Activity는 override 키워드를 추가하고 addCallback을 제거했습니다.

추가적인 내용

@kongwoojin kongwoojin requested a review from a team as a code owner February 13, 2025 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant