I have certain data in the data model class and want to share this data/object to the other activity. Single Instance could be a good choice but want to finish my previous activity and hence will got null pointer. Please Suggest the best possible way to do it?
Share
Best possible way to use serialization, SingleInstance will not work here because you have to finish your activity.
you can use your objects instead of String and other side you can retrieve using this.