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

Android: Use view binding #11092

Merged
merged 1 commit into from Oct 29, 2022
Merged

Android: Use view binding #11092

merged 1 commit into from Oct 29, 2022

Conversation

t895
Copy link
Contributor

@t895 t895 commented Sep 25, 2022

View binding is the successor to findViewById and ButterKnife injection. It is faster, reduces compile times, and has null/type safety. There aren't any visible changes in this PR besides some very slight text alignment changes in the convert activity.

More information about what view binding does and how to use it - https://developer.android.com/topic/libraries/view-binding#java

Note - These changes will not remove findViewById from the CustomTitleView for the TV layout nor the custom file picker due to limitations with leanback and nononsensefilepicker

@t895 t895 force-pushed the view-binding branch 2 times, most recently from bee575c to e60dc31 Compare September 25, 2022 06:01
@t895 t895 force-pushed the view-binding branch 3 times, most recently from 57e6ab4 to df50769 Compare October 23, 2022 20:35
@t895 t895 force-pushed the view-binding branch 2 times, most recently from 6b4b73b to 62b0753 Compare October 24, 2022 00:51
Copy link
Member

@JosJuice JosJuice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than that one comment.

@JosJuice JosJuice merged commit aeb0fcb into dolphin-emu:master Oct 29, 2022
11 checks passed
@t895 t895 deleted the view-binding branch January 1, 2023 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants