¡@

Home 

2014/10/16 ¤W¤È 08:19:57

android Programming Glossary: name1.get

Displaying Contact Number and Contact Name in a custom list view

http://stackoverflow.com/questions/17256932/displaying-contact-number-and-contact-name-in-a-custom-list-view

ma.mCheckStates.size for int i 0 i name1.size i if ma.mCheckStates.get i true checkedcontacts.append name1.get i .toString checkedcontacts.append n else System.out.println Not Checked...... name1.get i .toString Toast.makeText.. checkedcontacts.append name1.get i .toString checkedcontacts.append n else System.out.println Not Checked...... name1.get i .toString Toast.makeText Display.this checkedcontacts 1000 .show @Override public void onItemClick AdapterView arg0.. tv1 TextView vi.findViewById R.id.textView2 cb CheckBox vi.findViewById R.id.checkBox1 tv.setText Name name1.get position tv1.setText Phone No phno1.get position cb.setTag position cb.setChecked mCheckStates.get position false cb.setOnCheckedChangeListener..

How to obtain the checked rows in a custom view list

http://stackoverflow.com/questions/17267859/how-to-obtain-the-checked-rows-in-a-custom-view-list

ma.mCheckStates.size for int i 0 i name1.size i if ma.mCheckStates.get i true checkedcontacts.append name1.get i .toString checkedcontacts.append n else System.out.println ..Not Checked...... name1.get i .toString Toast.MakeText.. checkedcontacts.append name1.get i .toString checkedcontacts.append n else System.out.println ..Not Checked...... name1.get i .toString Toast.MakeText MainActivity.this checkedcontacts 1000 .show @Override public void onItemClick AdapterView.. R.id.textView1 tv1 TextView vi.findViewById R.id.textView2 cb CheckBox vi.findViewById R.id.checkBox1 tv.setText Name name1.get position tv1.setText Phone No phno1.get position cb.setTag position cb.setChecked mCheckStates.get position false cb.setOnCheckedChangeListener..