title: One or multiple interfaces?
body: <p>I have one <code>Activity A</code> that contains a <code>Fragment B</code> that contains another <code>Fragment C</code> that contains a <code>ListView</code> that contains some list items.</p>
  
  <p>How do the list items communicate with the <code>Activity</code>? Must I pass the <code>Activity</code> reference level by level until it reaches the list item? Must I create <strong>multiple</strong> interfaces and let the communication be channeled back to the <code>Activity</code> level by level?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>After reading <strong>@Barend</strong>'s answer, this is my code: <code>Fragment C</code> has an interface <code>C</code>. <code>Fragment B</code> has an interface <code>B</code>, which extends <code>C</code>. <code>Activity A</code> implements <code>B</code>, which means that it also implements methods in <code>C</code>. In <code>Fragment C</code>, I have a <code>mListener</code> field, which is assigned to <code>getActivity()</code> in the <code>onAttach(Context)</code> lifecycle callback.</p>