[android-developers] list view doubt
Hi
in my list view i need to expand clicking on item need expand
List
samsung-----another page should populate ---here i need specify one hyperlink
philips -----another page should populate ----here i need specify one
hyperlink
can any one give idea how i need to do
/// here my code
public class CompaniesActivity extends ListActivity {
public ListView lv;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setListAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, LISTITEMS));
lv = getListView();
lv.setTextFilterEnabled(true);
lv.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View view, int
position,long id) {
}
});
}
static final String[] LISTITEMS = new String[] {
"Philips Healthcare", "samsung", "siemens Healthcare", "mindtree"
};
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home