Intent in ListView
问题 How do I click a ListView. I mean how to make intent on it. JAVA public class Login extends ActionBarActivity { ListView listView; ArrayAdapter<String> adapter; String[] grocery_categories = {"Beverages", "Bakery", "Canned Goods", "Condiments", "Dairy", "Snacks", "Frozen Foods", "Meat", "Produce", "Cleaners", "Paper Goods", "Personal Care", "Others"}; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login);