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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to