Thnx vandana, But hot to remove it?? As I am decreasing count in another activity. And 1 more thing I noticed if I restart the application it shows me decreased count but I want this to happen also on click of Back Button. Sorry I should have mentioned it in 1st post.
On Jan 12, 6:27 pm, vandana toshniwal <[email protected]> wrote: > once u decrease the count...also remove that from the array.... > then call notifyDataSetChanged() > > On 12 January 2012 18:52, rachana govilkar <[email protected]>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 [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

