Code example for BaseAdapter

Methods: notifyDataSetChanged

0
        @Override 
        protected void onPostExecute(Bitmap result) {
            runningCount--;
            if (result != null) {
                friendsImages.put(uid, result);
                listener.notifyDataSetChanged();
                getNextImage(); 
            } 
        } 
    } 
 
    class ItemPair { 
        String uid;
        String url;
 
        public ItemPair(String uid, String url) {
            this.uid = uid;
            this.url = url;
        } 
    }