Skip to content

Commit

Permalink
Simplified a bit of code
Browse files Browse the repository at this point in the history
Used an import statement so I could reduce the size of one line of code
in KanaSelectionItem.
  • Loading branch information
theblackwidower committed Jul 12, 2017
1 parent 2047169 commit 30cf246
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import android.view.View;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
import android.widget.LinearLayout;
import android.widget.TextView;

Expand Down Expand Up @@ -83,7 +84,7 @@ private void updateObject()
chkCheckBox.setChecked(OptionsControl.getBoolean(getPrefId()));

chkCheckBox.setOnCheckedChangeListener(
new android.widget.CompoundButton.OnCheckedChangeListener()
new OnCheckedChangeListener()
{
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
{
Expand Down

0 comments on commit 30cf246

Please sign in to comment.