title: Android checkbox listen for click before change
body: <p>I have a requirement where a checkbox is displayed for a specific setting. When the user taps on the checkbox, I want to display an alert dialog. The checkbox should then only change if the user taps on the confirm button (or similar).</p>
  
  <p>My point is that the <code>OnCheckedChanged</code> listener only fires after the checkbox has changed state, whereas I want to listen for the click before it changes state.</p>