Moving from one activity to another activity in android studio -


i'm writing application in android studio ide shows models,brands ,prices , etc of cars , want move 1 activity one.can use putextra?if yes wonder if tell me how can use it.

you can pass data between activities in easiest way this.

in first activity use out send data

intent intent = new intent(getbasecontext(), signoutactivity.class); intent.putextra("your_data_key", data); startactivity(intent); 

access intent on next activity this

string s = getintent().getstringextra("your_data_key"); 

Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

minify - Minimizing css files -

php - How to remove letter in front of the word laravel -