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

Use view binding instead of findViewById #475

Merged
merged 12 commits into from
Feb 5, 2025
Merged

Conversation

chrgernoe
Copy link
Member

@chrgernoe chrgernoe commented Jan 14, 2025

View binding is has some technical advantages. See https://developer.android.com/topic/libraries/view-binding. I think also it is much clearer which element is accessed where. Search through the layout is not so easy to understand. However, there are still some code that uses findViewById which cannot easily changed.

@github-actions github-actions bot added the KTLO This feature will not be delivered to customers label Jan 14, 2025
@chrgernoe chrgernoe force-pushed the ktlo/use-view-binding branch from cc3cf97 to 349b367 Compare January 19, 2025 14:26
@chrgernoe chrgernoe requested a review from paetz January 19, 2025 14:27
@chrgernoe chrgernoe marked this pull request as ready for review January 21, 2025 20:40
@chrgernoe chrgernoe force-pushed the ktlo/use-view-binding branch from 67515aa to 4cc6c5c Compare January 23, 2025 23:47
@chrgernoe chrgernoe requested a review from paetz January 23, 2025 23:48
@chrgernoe chrgernoe force-pushed the ktlo/use-view-binding branch from 069b19a to f5cd638 Compare January 25, 2025 22:47
@chrgernoe chrgernoe requested a review from paetz February 4, 2025 22:57
paetz
paetz previously approved these changes Feb 5, 2025
@chrgernoe chrgernoe merged commit bec3b51 into master Feb 5, 2025
5 checks passed
@chrgernoe chrgernoe deleted the ktlo/use-view-binding branch February 5, 2025 23:13
@chrgernoe chrgernoe added this to the v0.9.0 milestone Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
KTLO This feature will not be delivered to customers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants