title: Adding listeners to individual ListPreference items
body: <p>I'm trying to add individual listeners to items in a <code>ListPreference</code> but I just can't find the right code to do it.</p>
  
  <p>For example, assume I have an app where needs the <em>region</em>  to be set. So I have a <code>ListPreference</code> with three options; Americas, Asia, Europe.</p>
  
  <p>When I use the trackpad to scroll through the items I would like them to speak the text of the preference when they get focus. </p>
  
  <p>I'm sure somewhere in the API I can add a listener to the individual items but I just can not find it.
  There is a <code>setOnPreferenceClickListener(..)</code> method in <code>ListPreference</code> (inherited from <code>DialogPreference</code>) but that is for when you select the actual parent preference item.</p>
  
  <p>Do I need to write a special subclass?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>After looking into this more I think I need to further clarify my question.
  When using preferences you can override the <code>onPreferenceTreeClick (PreferenceScreen prefScreen, Preference pref)</code> method in the <code>PreferenceActivity</code>. This allows you to intercept any clicks on preferences. However I want to add a listener to the actual dialog that pops up. The "Americas, Asia, Europe" options from the above example. So if I select or click on Asia I can intercept it. </p>
  
  <p>So my (refined) question is how can add a listener to those individual options.</p>
  
  <p>cheers</p>