setListAdapter(new ArrayAdapter<string>(this, R.layout.list_item, strings) {@Overridepublic View getView(int position, View convertView, ViewGroup parent) {View row;if (null == convertView) {row = mInflater.inflate(R.layout.list_item, null);} else {row = convertView;}TextView tv = (TextView) row.findViewById(android.R.id.text1);tv.setText(getItem(position));return row;}});
About the Author
I'm an Android Developer ,working in a Software firm in Technopark,Trivandrum. This blog is dedicated to those who are facing the problems which i faced during my developments.HAPPY CODING..!
Subscribe to:
Post Comments (Atom)
0 comments: