how to update listview periodically in android
<p>my listview is not updated periodically in android 
it only updates when i scroll the listview then only its adapter changes</p>

<pre><code>final Thread dataThread=new Thread(new Runnable() {

        public void run()
        {
            getFiveNearShops();

            DataBaseHelper myDbHelper = new DataBaseHelper(mContext);
            myDbHelper = new DataBaseHelper(mContext);

            try
            {
                myDbHelper.createDataBase();
            } 
            catch (IOException ioe) 
            {
                throw new Error("Unable to create database");
            }

            try 
            {
                myDbHelper.openDataBase();
                mCountyAndShops = myDbHelper.getCountyList();
                shopCountyData = myDbHelper.getShopCountyData();
            }
            catch(SQLException sqle)
            {

                throw sqle;

            }
            finally
            {
                myDbHelper.close();
            }
        }
    });
    dataThread.start();

    Thread displayThread = new Thread(new Runnable() {
        public void run() {

         try
         {
             dataThread.join();
         }
         catch (InterruptedException e) 
         {
            e.printStackTrace();
         }  
         mHandler.post(new Runnable() { 
            public void run() 
            {
                EfficientAdapter listPlacesAdapter = new EfficientAdapter(getApplicationContext());
                list_places.setAdapter(listPlacesAdapter);
                list_places.setDivider(null);
                mapOverlays.add(itemizedoverlay);

                listPlacesAdapter.notifyDataSetChanged();

                list_county.setAdapter(new CountyListEfficientAdapter(getApplicationContext(),mCountyAndShops));
                list_county.setDivider(null);
            }
        });

        }
    });
    displayThread.start();
</code></pre>
