1

When I click an item of ListView, I want to dismiss AlertDialog

view story
linux-howto

http://stackoverflow.com – I'm android app developer. I want to display AlertDialog include Listview. When I click an item of ListView, I want to dismiss AlertDialog. But, (1) code dosen't work. How can I do? Please tell me some advice. pre-Thanks! final String[] items = new String[101] ; for(int m = 0 ; m < items.length ; m++) { items[m] = Integer.toString(m) ; } Dialog dialog = new Dialog(this); AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle("sample list title "); ListView modeList = new ListView(this); ArrayAdapter<String> modeAdapter = new ArrayAdapter&l (HowTos)