| How can we pass data to sub activities in Android?
Here in android we can use bundles to pass data to different sub activities. And there ate HashMaps which take trivial data types. And these bundles transport information from one activity to another. Below is the syntax for the same:-
Bundle bobj=new Bundle();
bobj.putString("Email","test@test.com");
i.putExtras(bobj); //here i is intent
| | |