Thursday, September 1, 2011

[android-developers] Re: I implement for delete row from listview but have force close

On Sep 1, 11:35 am, Jhew SAN <tawisak.ruksu...@gmail.com> wrote:
> change from  viewInfo.removeViewAt(positionToRemove);  to what

What 'feeds' your list view? An adapter.

If adapter has 5 items then list view will show 5 items.

Then, now, if you want your list view to show 4 items you need to do
something so that your adapter has also 4 items.

pskink

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment