mizo0203/nature-remo-sample

View on GitHub

Showing 1 of 30 total issues

Method onClick has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.button_1:
                mPresenter.sendButtonEvent(RemoteControlButtonType.NUM_1);
Severity: Major
Found in app/src/main/java/com/mizo0203/natureremoapisample/MainFragment.java - About 2 hrs to fix
    Severity
    Category
    Status
    Source
    Language