CheckedTextView v =(CheckedTextView) adapter.getView(1, null, null);
v.setText("n1");
Is not correct for your purposes, you don't call getView
, getView
is called by the Adapter to return you the view to showed in the ListView; if you like you can override getView
if you create a custom adapter by extending ArrayAdapter (for example).