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

Removed butterknife from quiz activity #5383

Merged

Conversation

psh
Copy link
Collaborator

@psh psh commented Nov 12, 2023

Removed butterknife and followed the IDE direction to tidy up code quality warnings.

})
.setNegativeButton("Cancel", (dialogInterface, i) -> dialogInterface.dismiss())
.create()
.show();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Followed the builder pattern rather than repeating "alert." and since the local variables aren't used outside of this scope, there were inlined.

}
})
.create()
.show();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Similar to the other alert dialog - followed the builder pattern and inlined variables to reduce duplication.

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

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

Thanks! :-)

@nicolas-raoul nicolas-raoul merged commit 3118a83 into commons-app:main Nov 20, 2023
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.

2 participants