-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat: made the ui adaptive for orientation changes #548
base: main
Are you sure you want to change the base?
feat: made the ui adaptive for orientation changes #548
Conversation
…nz-android into adaptive_ui_for_orientation_changes
app/src/main/java/org/listenbrainz/android/ui/navigation/SideNavigationBar.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/listenbrainz/android/ui/navigation/SideNavigationBar.kt
Outdated
Show resolved
Hide resolved
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.
Good stuff!, exactly like I wanted it to be! One small nit though and then I think we can move forward.
scrollToTop: () -> Unit, | ||
username: String?, | ||
isLandscape: Boolean, | ||
brainzPlayerViewModel: BrainzPlayerViewModel = hiltViewModel() |
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.
We need lift this view-model out of this component so as to make previews possible.
in this pr the ui for the app is changed so that it is automatically handles orientation changes and ui is more responsive
before
WhatsApp.Video.2025-02-03.at.23.16.16_05b7c39b.mp4
after
WhatsApp.Video.2025-02-03.at.23.07.42_e1f0b161.mp4