Transfer a string from list view on one activity to another in android -
this question has answer here:
how possible transfer string listview on click , use string saved in variable in different activity?
you can writing code calling next activity in listview's item click event
intent intent= new intent(getbasecontext(),anotheractivity.class); intent.putextra("any_key", "your string value"); startactivity(intent);
then in other activity's on create method value of string by
string str=getintent().getstringextra("any_key");
Comments
Post a Comment