UMAR UMAR - 1 year ago 68
Android Question

How to send an object from one Android Activity to another using Intents?

How can I pass an object of a custom type from one Activity to another using the

method of the class Intent?

Answer Source

the most easiest solution i found is.. to create a class with static data members with getters setters.

set from one activity and get from another activity that object.

activity A


activity b

mytestclass obj= mytestclass.staticfunctionGet();