I want to make all my list items in the listview open up into a new page, so each listview item opens up onto a new black page that I can use. I don\'t know how to implement
listView= (ListView) findViewById(R.id.listview);
List item
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView> parent, View view, int position, long id) {
if(position==0){
Intent i=new Intent(MainActivity.this,Main3Activity.class);
startActivity(i);
}
}
});