Hi friends,
In the oncreate of Custom listview activity  i am setting the adapter as

adapter = new LazyAdapterChannelList(ChannelGuideActivity.this,
                null);
        this.setListAdapter(adapter);,

this is my LazyadapterChannlelist class

ChannelList myCurrentShowsList;

public LazyAdapterChannelList(Activity a, ChannelList m_CurrentShowsList) {
        activity = a;
myCurrentShowsList=m_CurrentShowsList;

    }


public void setUpdatedInfo(ChannelList val) {
        Log.i(ConfigurationConstants.logTAG, "lca - Received new data " +
val.getData().size());
        myCurrentShowsList = val;
    }

public int getCount() {
        try {
            return myCurrentShowsList.getData().size();
        } catch (Exception ex) {
            return 0;
        }

    }

setUpdatedInfo(ChannelList val) : this method i am calling before calling
adapter.notifyDataSetChanged to update the latest values.
But the listview is not getting updated.

Please reply.:)
-- 
Regards,
Vani Reddy

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to