But it looks like Maps can't be serialized as intent extras. The document.getProperties() method returns a Map<String, Object>. Can you try to convert it to a HashMap then pass it as an extra?
James On Thursday, 28 July 2016 16:25:55 UTC+1, James Nocentini wrote: > > You can pass the HashMap as an intent extra > <http://stackoverflow.com/a/7578313/1908348>. > > James > > On Thursday, 28 July 2016 16:15:51 UTC+1, Nenad Stojnic wrote: >> >> Hi. >> >> Problem description: >> Activity_A have one Meta object which contains two fields >> com.couchbase.lite.Document and Map<String, Object>. >> We need to send Meta object from Activity_A to Activity_B and then we >> edit Meta object in Activity_B. >> We want to do it using Intent. >> Meta object must be Parcable. >> How can we make that Meta Object is Parcable? >> >> -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/483936b9-6093-409b-95b0-946e8a6a24c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
