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
Thanks karteek for your answer but it does not work as my adapter
takes a list of Strings.
mAdapter.remove(String) should actually work, I have override
getCount() as well but still no luck...
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
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
On Jul 9, 2:23 pm, JoksanCPEN joksan...@gmail.com wrote:
have you tried to delete the element from the array instead of
deleting it from the listview?
Yes and then I call notifyDataSetChanged() and it only deletes the
last one.
A temporary solution I'm using is when a row is deleted, the
4 matches
Mail list logo