custom list view with custom dialog set adapter in android.
<p>In My <code>listview</code> when i click on change <code>button</code> open a custom dialog box .
Enter name of item.</p>

<p><em>I am writing update list view code on OK button in custom dialog</em> .</p>

<p>gives me following error :</p>

<pre><code>01-21 12:33:30.069: E/AndroidRuntime(1789): java.lang.IllegalStateException: System services not available to Activities before onCreate()
</code></pre>

<p><img src="http://i.stack.imgur.com/f3DoA.png" alt="enter image description here"></p>
