title: How to determine which part of adapter was called in Android
body: <p>I have an adapter for a <code>ListView</code> that where each item contains a <code>CheckBox</code> and a <code>Textview</code>. When the checkbox is clicked on, I would simply like it to check or uncheck as normal. However, when the <code>TextView</code> is clicked on, I would like to start a new sub-activity. </p>
  
  <p>Currently, I am handling onClick behavior using <code>AdapterView.OnItemClickListener</code> and I can determine which row of the <code>ListView</code> was clicked using the <code>position</code> parameter. What is the best way to determine whether the click came from the <code>CheckBox</code> or <code>TextView</code>?</p>