Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

hiding the checkbox of checkedtextview

Tags:

android

i m using checkedtextview in listview.i want to display olly the textview when d list view is first loaded.when i click on a button i want to populate the list view with different data and which should show the checkbox also.(i m not able to hide the checkbox of checked textview initially).plz help me

like image 827
andro-girl Avatar asked Apr 08 '11 11:04

andro-girl


1 Answers

I would simply use a custom adapter that will return either a TextView or a CheckedTextView depending on whether you have clicked your button.

Also you could try to do checkedTextView.setCheckMarkDrawable(null);

like image 75
Vincent Mimoun-Prat Avatar answered Oct 23 '22 01:10

Vincent Mimoun-Prat