¡@

Home 

2014/10/16 ¤W¤È 08:14:39

android Programming Glossary: hidingitemindex

How to hide one item in an Android Spinner

http://stackoverflow.com/questions/9863378/how-to-hide-one-item-in-an-android-spinner

index or array list of index that you want to hide. public class CustomAdapter extends ArrayAdapter String private int hidingItemIndex public CustomAdapter Context context int textViewResourceId String objects int hidingItemIndex super context textViewResourceId.. String private int hidingItemIndex public CustomAdapter Context context int textViewResourceId String objects int hidingItemIndex super context textViewResourceId objects this.hidingItemIndex hidingItemIndex @Override public View getDropDownView int.. context int textViewResourceId String objects int hidingItemIndex super context textViewResourceId objects this.hidingItemIndex hidingItemIndex @Override public View getDropDownView int position View convertView ViewGroup parent View v null if position..