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 #2037

Merged
merged 3 commits into from
Jan 7, 2024
Merged

Use view binding #2037

merged 3 commits into from
Jan 7, 2024

Conversation

adamszewe
Copy link
Contributor

@adamszewe adamszewe commented Jan 5, 2024

Enable the view binding feature and replace explicit view binding with binding.xyz in DeviceActivity.

@@ -65,27 +64,7 @@ public class DeviceActivity extends SyncthingActivity implements View.OnClickLis

private Device mDevice;

private View mIdContainer;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

explicit declaration for each view reference is no longer needed

@adamszewe adamszewe marked this pull request as ready for review January 6, 2024 11:50
@imsodin imsodin merged commit e5574f0 into syncthing:main Jan 7, 2024
1 check passed
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.

None yet

2 participants