in android how to update content of a Custom Listview
<p>In my custom ListView contains two textview and one Imageview i<code>m using AsyncTask to read the Text from Internet same with the imageView .As i</code>m reading and assigning  all three view elemnt at the same time it takes to much time . In such case i<code>need to Convert url to Bitmap in another AsyncTask when the text part is done.
        As a logic it recquire some concept of updating my ImageView resource .But i</code> do not 
    know how to do it....</p>

<p>Thanks In Advance..</p>

<pre><code>private class AsynchTask extends AsyncTask&lt;Void, Integer, Void&gt; {
        URLConnection tc;
        BufferedReader in;
        URL twitter;
        int num=0;
                    @Override
            protected void onPreExecute() {
                super.onPreExecute();
            try {

               mProgressBar.setVisibility(View.VISIBLE);
                } catch (Exception e) {
                Log.e(TAG,""+e.getMessage());
            }
            }
            @Override
            protected Void doInBackground(Void... params) {
            try{
                    twitter = new URL("https://twitter.com/statuses/public_timeline.json");
                 tc = twitter.openConnection();
                 my = new ArrayList&lt;HashMap&lt;String,Object&gt;&gt;();
                 in = new BufferedReader(new InputStreamReader(
                 tc.getInputStream()));
                 ImageList=new ArrayList&lt;String&gt;();
            while ((line = in.readLine()) != null) {

                 JSONArray ja = new JSONArray(line);

                  for (int i = 0; i &lt; ja.length(); i++) {
                      JSONObject jo = (JSONObject) ja.get(i);
                      /**Data Insert into the HashMap Object*/
                     hm=new HashMap&lt;String, Object&gt;();
                    hm.put(TEXT,jo.getString("text"));
                    hm.put(USER,jo.getJSONObject("user").getString("name"));
                  //                    String str=jo.getJSONObject("user").getString("profile_image_url"); hm.put(URL,"http://twitter.com/#!/"+jo.getJSONObject("user").getString("screen_name"));
             //                     hm.put(IMAGEURL,getDrawable_from_url(str));
                ImageList.add(jo.getJSONObject("user").getString("profile_image_url"));
                  Log.e(TAG,""+num);
                    my.add(hm);
                    num++;
                    Log.e("Count",""+num);
                    publishProgress(num);
                       }
                      num++;
                      publishProgress(num);
                  }
                 } catch (Exception e) {

                   Log.e(TAG,""+e.getMessage());
                  }
            return null;
            }

            @Override
                protected void onProgressUpdate(Integer... values) {
            mProgressBar.setProgress(values[0]);
            super.onProgressUpdate(values);
                }
        @Override
        protected void onPostExecute(Void result) {
        super.onPostExecute(result);
        mProgressBar.setProgress(0);
        mProgressBar.setVisibility(View.GONE);

          adapter = new Simpleadapter(HelloWorldActivity.this, my, R.layout.listcontent, 
                    new String[]{TEXT,USER}, new int[]{R.id.text2,R.id.text1});
             listView.setAdapter(adapter);
             new AsynchTaskForImageLoading().execute();
            }
         }


             /**Method to convert Url to the Bitmap*/


              private Bitmap getDrawable_from_url(String url) {


               try{
             Bitmap x;
           HttpURLConnection connection = (HttpURLConnection)new                URL(url).openConnection();
               connection.setRequestProperty("User-agent","Mozilla/4.0");
          connection.connect();
               InputStream input = connection.getInputStream();
              x = BitmapFactory.decodeStream(input);

             return x;
                }
            catch (Exception e) {
                Log.e(TAG,""+e.getMessage());
                return null;
            }   

            }
</code></pre>
