     public void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         ArrayAdapter<String> list_elems = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_checked);         list_elems.add("foobar");         //TODO: check added entry labeled "foobar"         setListAdapter(list_elems);     