Issue
How can I pass an object of a custom type from one Activity to another using the putExtra()
method of the class Intent?
Solution
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
mytestclass.staticfunctionSet("","",""..etc.);
activity b
mytestclass obj= mytestclass.staticfunctionGet();
Answered By - UMAR-MOBITSOLUTIONS
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.