title: Android: checkbox listener
body: <p>I want to put a Listener over a <code>CheckBox</code>. I looked for info and it is like this:</p>
  
  <pre><code>satView = (CheckBox)findViewById(R.id.sateliteCheckBox);
  
  satView.setOnCheckedChangeListener(new OnCheckedChangeListener() {
      @Override
      public void onCheckedChanged(RadioGroup group, int checkedId) {
          if (isChecked){
              // perform logic
          }
      }
  
  });
  </code></pre>
  
  <p>The problem is that Eclipse thinks it's an <code>OnCheckedChangeListener</code> for a <code>RadioGroup</code> and it doesn't work. How can I fix this?</p>