PostExcute custom dialogue image not changing?
<p>For some reason this isn't working with a dialog. I've used the showImage method loads of time before in this app via postExecute and its worked fine. However its not showing the image it should when doing it this way. Am I missing something? At the moment I've just got the image URL hardcoded to test, but later it will be passed to this method from doInBackground. </p>

<pre><code>protected void onPostExecute() {        

    Dialog liveView = new Dialog(myView.this, R.style.Dialog);
    liveView.setContentView(R.layout.liveview_dialogue);
    TextView title = (TextView)liveView.findViewById(R.id.liveViewTitle);           
        Button button = (Button) liveView.findViewById(R.id.liveViewButton);
        ImageView imgDisplay= (ImageView)liveView.findViewById(R.id.liveViewImage);
        showImage("http://mytest.com/test.jpg", imgDisplay);
        button.setOnClickListener(new OnClickListener() {

            public void onClick(View v) {
                finish();
            }
        });
        liveView.show();
        dialog.cancel(); //used to cancel the previous progress dialog. 

}
</code></pre>

<p>My xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/relativeLayout1"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" &gt;

    &lt;TextView
        android:id="@+id/liveViewTitle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="10dip"
        android:text="Tracking"
     /&gt;

    &lt;ImageView android:id="@+id/liveViewImage"
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content"
     android:layout_centerHorizontal="true"
     /&gt;

    &lt;Button
        android:id="@+id/liveViewButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="80dip"
        android:text="OK" /&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p>My theme:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;resources&gt;

    &lt;style name="Dialog" parent="android:style/Theme.Dialog"&gt;
        &lt;item name="android:windowBackground"&gt;@null&lt;/item&gt;
        &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
        &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
    &lt;/style&gt;

&lt;/resources&gt;
</code></pre>

<p>Show image method:</p>

<pre><code> public void showImage(String url, ImageView passed){
        int loader = R.drawable.ic_launcher; 
        ImageLoader imgLoader = new ImageLoader(getApplicationContext());
        imgLoader.DisplayImage(url, loader, passed);
    }
</code></pre>

<p>ImageLoader.class: <a href="http://pastebin.com/Z2BvvzXk" rel="nofollow">http://pastebin.com/Z2BvvzXk</a></p>

<p>MemoryCache.class: <a href="http://pastebin.com/bJUwPs45" rel="nofollow">http://pastebin.com/bJUwPs45</a></p>

<p>FileCache.class: <a href="http://pastebin.com/0XHBawd0" rel="nofollow">http://pastebin.com/0XHBawd0</a></p>

<p>Utils.class: <a href="http://pastebin.com/KXbXRVC2" rel="nofollow">http://pastebin.com/KXbXRVC2</a></p>
