Hi all I was wondering if is it possible to passing an object using intent to multiple classes.
I know of passing only to 1 class.
Class1
Intent intent = new Intent(class1.this, class2.this)
intent.putExtra("item", itemMain);
StartActivity(intent);
Class2
Bundle retrieveData = getIntent().getExtras().getString("item");
What I want to do is pass the original itemMain to all classes like class 3,4,5
You should just use SharedPreference like this..
Here is how to insert data into shared preference..
Here is how to get the information in all classes…