get the text off an item in the ListView
I want to remove a item from a list view.. But when i remove the item that i want, the item that is removed is the one that is in the first position.
I have this code..
final String text = (String) lv1.getItemAtPosition(position);
db.removeCategoria(text);why d开发者_如何转开发oes not remove the correct position?
You should try
- clearing up your question a bit, and
- removing the item from your data provider (list / xml /...).
what is db
anyway?
精彩评论