Skip to content

4664: Moved ImageFragment to ViewBinding #5067

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

Merged

Conversation

bosankus
Copy link
Contributor

@bosankus bosankus commented Oct 9, 2022

Fixes #4664

What changes did you make and why?

  • Issue: As per the information provided and work request on the ticket above, ImageFragment.kt is currently using Kotlin Synthetic which creates auto-generated class, and has been alread deprecated.
  • Solution: Hence migration was done by replacing kotlin-synthetic with viewbinding, which is always null safe, type-safe and supports both Java and Kotlin.

NB: During migration a redundant semicolon was removed.

@bosankus
Copy link
Contributor Author

bosankus commented Oct 9, 2022

@dbrant Requesting to review this PR

@nicolas-raoul nicolas-raoul merged commit 26d2669 into commons-app:master Oct 29, 2022
@nicolas-raoul
Copy link
Member

Thanks @bosankus and sorry for the long wait!

@bosankus bosankus deleted the moved_image_fragment_to_viewbinding branch October 29, 2022 08:52
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.

Kotlin Android Extensions & Butterknife are deprecated
2 participants