app/src/main/java/com/davidmiguel/gobees/apiaries/ApiariesActivity.java
Method setupDrawerContent
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void setupDrawerContent(NavigationView navigationView) {
navigationView.setNavigationItemSelectedListener(
new NavigationView.OnNavigationItemSelectedListener() {
@Override
public boolean onNavigationItemSelected(@NonNull MenuItem menuItem) {
'+' should be on a new line. Open
Open
getString(R.string.share_app_text) +
- Read upRead up
- Exclude checks
Checks the policy on how to wrap lines on operators.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.