have you tried to delete the element from the array instead of deleting it from the listview?
On Jul 9, 2:12 am, karteek <kartee...@gmail.com> wrote: > use the methode remove with position of the row > mAdapter.remove(2); > > On Jul 9, 2:32 am, Albert <albert8...@googlemail.com> wrote:> Hi all, > > > Does someone know how to remove a row from a Listview? > > > I have an Adapter that takes care of the List and when I try > > mAdapter.remove(Object) it does not remove the "Object" I passed but > > instead the last row on the list. I have tried different ways and it > > always ends up deleting the last row. > > > Thanks in advance, > > Alberto > > -- 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