Hello guys I have created a listview on second activity and I have three button on main activity .on click of each button it will display a listview with diffrent names in second activity. I dont how to pass a string array through intent and display in a listview.
MAIN ACTIVITY
String []str={"hello","world"};
String []str2={"display","text"};
String [] str3={"android","programming"};
Intet intent=new Intent (this,Second activity. class);
intent.putExtra("stringA",how to pass the string array here)
startActivity (intent);