In every example I saw, the data is somehow synonymous to basic (raw) data -- ints, chars, array of bools, and so on -- this is too limiting for me, because I would like to pass a regular object.
So how to pass any data to activity, like for example, instance of MyClass
?
I checked the Intent.putExtra
-- all I found was basic types + Bundle
, but Bundle
itself also handles only basic types.