<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gothedistance</author_name>
  <author_url>https://blog.hatena.ne.jp/gothedistance/</author_url>
  <blog_title>Life is Really Short, Have Your Life!!</blog_title>
  <blog_url>https://aroundthedistance.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Android</anon>
  </categories>
  <description>あー確かにこれが一番簡単だなって思ったので。Bundle.put系のメソッドはカスタムのオブジェクトを受け取ってくれない。Parcelableという interfaceを実装しているとイケるみたいなこと書いてあったけど、それ以外はObject型もダメ。Java言語自体が用意している型のみ渡せる。How to pass custom object in Bundle?ただ、よく考えたらJacksonとかのJSON⇔Objectのパーサーを使って、オブジェクトをJSON文字列にして渡してあげて、渡された側はJSON文字列からオブジェクトに復元すればいい。個人的にはこの受け渡し方法を採用しています。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2014%2F10%2F28%2F000203&quot; title=&quot;Bundle経由でオブジェクトが渡せない時はJSON文字列に変換して渡す - Life is Really Short, Have Your Life!!&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-10-28 00:02:03</published>
  <title>Bundle経由でオブジェクトが渡せない時はJSON文字列に変換して渡す</title>
  <type>rich</type>
  <url>https://aroundthedistance.hatenadiary.jp/entry/2014/10/28/000203</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
