thanks for your reply, but my proble is introduced by a simple error, in the step 4:
4. so I changed the visibility in BaseAdapter::getView(int position, View convertView, ViewGroup parent): CheckBox itemChkBx = ( CheckBox ) mActivityContext.findViewById ( R.id.checkbox1 ); itemChkBx.setVisibility(View.VISIBLE); I should get the checkbox using parameter convertView, like followings: chkbox = ( CheckBox ) convertView.findViewById( R.id.checkbox1 ); 2009/4/14 drasticp <drast...@gmail.com> > > Look at the notifyDataSetChanged() and notifyDataSetInvalidated() > methods on your adapter. I'm not sure if this is the most elegant way > to get the job done, but they will cause the list to dump any cached > views and redraw them. > > > > --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---