How can I my activity get notified what changes user made?
<p>In my activity, i have a ListPreference which pops up a dialog and allow to select a value for a preference.  </p>

<pre><code>&lt;ListPreference
    android:key="limit"
    android:title="@string/limit_label"
    android:entries="@array/limit_label"
    android:entryValues="@array/limit_values"
    android:defaultValue="@string/default_limit"
/&gt;
</code></pre>

<p>Can you please tell me if there is a call back function which I get notified what user has selected in the LIstPreference?</p>
