Chcę umieścić słuchacza nad checkBox. Szukałem informacji i to jest tak:Android: odbiornik checkbox
satView = (CheckBox)findViewById(R.id.sateliteCheckBox);
satView.setOnCheckedChangeListener(new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(RadioGroup group, int checkedId) {
if (isChecked){
// perform logic
}
}
});
Problemem jest to, że Eclipse uważa, że jest to OnCheckedChangeListener
dla RadioGroup
i to nie działa. Jak mogę to naprawić?
Dziękuję i tutaj jest jak go usunąć: http://stackoverflow.com/questions/18881817/removing-strikethrough-from-textview – Michal
'' CompoundButton.OnCheckedChangeListener' OnCheckedChangeListener' i są różne. – zionpi