Re: [android-developers] Listview with image, text and checkbox

2011-07-27 Thread feiyangfeixue feiyangfeixue
Some day ago, the same problem occures to me. The reason is that the ListView is design to reuse the ListItem, which means that the Item #9 and #17 reuse items #0-#8. So you should find some to maintain the View status ( such as checkbox check status ) in some data structure. For example ,you

[android-developers] Is there any way to change contact display_name on android ?

2011-06-22 Thread feiyangfeixue feiyangfeixue
I just use the follow code, but it in fact has no result. Really confused. ContentValues contentValue = new ContentValues (); contentValue.put( Contacts.DISPLAY_NAME, AnyName ); updateCount =context.getContentResolver() .update( Contacts.CONTENT_URI,