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

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -