once u decrease the count...also remove that from the array....
then call notifyDataSetChanged()




On 12 January 2012 18:52, rachana govilkar <rachana.govil...@gmail.com>wrote:

> Hello all,
>
> I have 3 activities.
> 1.FriendsList
> 2.MessageList
> 3.DisplaySingleMessage.
>
> Now in FriendsList activity I display count of messages.And then I
> want to decrease that count as I read messages in DisplaySingleMessage
> activity.
> I do set decreased count in DisplaySingleMessage activity.
>
> So, on FriendsList activity I am using method
> friendListAdaptor.notifyDataSetChanged().
> This adapter is arrayadapter but it is not giving proper result.
> Is there anything I also need to write??
> Can anybody help me??
> Thank you.
>
> --
> 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

-- 
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