RefreshableListView icon indicating copy to clipboard operation
RefreshableListView copied to clipboard

Update not Insert

Open vds2014 opened this issue 13 years ago • 1 comments

Hi Daniel. Great job!!!!!!!! Easy to use.... very nice!!!!!

My friend, I´m at begin in java (android) and I really don´t know to to do that. As I could see, you extends from a ListView to do the own List that updates but it insert "new " records. I´m getting my data list from a table in the webserver... I need to refresh my list, not insert all records again.

If I have one record at database, at first running, my list have one item, but if I refresh first time, I get two itens, that same record because in the database in this case has only one register... in other words, I´m duplicating the itens in the list adding the same...how to it only to refresh the list???

Thanks for attention

vds2014 avatar Aug 17 '12 15:08 vds2014

FORGET IT!!!!!! kkkkk ;-) Just setAdapter to NULL before do refresh and notifyDataSetChanged Thanks for attention!!!!!! Once again... congratulations!!!!!! Great job!!!!!!!!!!!!!!! ;-) Thank you!

vds2014 avatar Aug 17 '12 16:08 vds2014