Hi, I developed an application with listview checkbox and adapter. I need to get value of the checkedlistview item.How to do? String[] edc_name_list=new String{"Name","ID"}; HashMap<String, String> hm; EditText inputSearch; final ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_multiple_choice, edc_name_list); final ListView listView = (ListView) findViewById(R.id.lst_delete_items); listView.setAdapter(adapter); listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { //Toast.makeText(getApplicationContext(), ""+listView.getSelectedItem().toString(), 1000).show(); } });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)