diff --git a/app/src/main/java/com/noprestige/kanaquiz/KanaSelectionItem.java b/app/src/main/java/com/noprestige/kanaquiz/KanaSelectionItem.java index a6a67002..5f88d115 100644 --- a/app/src/main/java/com/noprestige/kanaquiz/KanaSelectionItem.java +++ b/app/src/main/java/com/noprestige/kanaquiz/KanaSelectionItem.java @@ -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; @@ -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) {