How Can We Pass Multiple Values by Intent in Android?
Contents How Can Intent Pass Multiple Values in Android? Beachguide. _Id”; Intent I = New Intent(This, Coastlist. Class); I. putExtra(ID_EXTRA, “1”, “111”)...
Contents
How can Intent pass multiple values in Android?
beachguide. _ID”; Intent i = new Intent(this, CoastList. class); i. putExtra(ID_EXTRA, “1”, “111”); startActivity(i);
Must Read
How can I pass multiple EditText values to another activity in Android?
You need put them in Extras (putExtras) and then pass from the current activity to the other one. You need capture your EditText value as String and then putExtra with Key – one each for your need and then retrieve them in the second activity.