-
Notifications
You must be signed in to change notification settings - Fork 1
Ipc 716 refactor for accessibility #831
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
base: main
Are you sure you want to change the base?
Conversation
…n on Android 10 IPC-756
…n ReviewView IPC-756
…iewBottomSheet IPC-756
…iewBottomSheet IPC-756
…ewFragment IPC-756
…-the-screen-while-rotation-on-Android-10 IPC 756 Keypad is not retaining on the screen while rotation on Android 10
|
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.
Pull Request Overview
This PR refactors keyboard handling for improved accessibility across API levels, implementing a unified approach to restore keyboard state after orientation changes and view recreation.
Key changes:
- Added keyboard state tracking and restoration for pre-API 30 devices
- Implemented focus management to maintain user context during view lifecycle events
- Created a unified keyboard display helper function
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
Extensions.kt | Added showKeyboard() extension function for unified keyboard display across API levels |
ReviewBottomSheet.kt | Implemented keyboard state persistence and focus tracking for bottom sheet dialogs |
ReviewFragment.kt | Added keyboard restoration logic specifically for Android Q and below devices |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
...rc/main/java/net/gini/android/internal/payment/review/reviewBottomSheet/ReviewBottomSheet.kt
Outdated
Show resolved
Hide resolved
health-sdk/sdk/src/main/java/net/gini/android/health/sdk/review/ReviewFragment.kt
Outdated
Show resolved
Hide resolved
|
No description provided.