can someone help i have this code:

package com.main.Reference;


import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;


public class Reference extends ListActivity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    String[] office = getResources().getStringArray(R.array.Office_array);
    setListAdapter(new ArrayAdapter<String>(this, R.layout.list_item,
office));

      }
   }

and i want to be able to click on one of the items on the list and for it to
go to another set of list

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to