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

[predictive-back-navigation] replace back handler for ScreenActivity #770

Closed
wants to merge 2 commits into from

Conversation

lunaticare
Copy link
Contributor

@lunaticare lunaticare commented Jul 9, 2024

Copy link

what-the-diff bot commented Jul 9, 2024

PR Summary

  • Enhances Application Navigation
    Incorporation of OnBackPressedCallback to ScreenActivity.kt provides an efficient way to customize the back navigation behavior across different screens.

  • Streamlines Back Navigation Handling
    Implementation of a new method setUpBackHandler() in ScreenActivity.kt reinforces a structured way of managing back navigation events.

  • Improves Existing Navigation Method
    Adaptation of onBackPressed() function in ScreenActivity.kt to use OnBackPressedCallback creates a more flexible avenue for handling back press events.

  • Optimizes Toolbar Utilization
    Update to onToolbarCreated() method in ScreenActivity.kt to use onBackPressedDispatcher leads to consistent behavior across various toolbar instances.

  • Amends Script Execution Permissions
    Modification of the gradlew mode from 100644 to 100755 ensures appropriate execution permissions are set, enhancing system security and performance.

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