<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kawai_norimitsu</author_name>
  <author_url>https://blog.hatena.ne.jp/kawai_norimitsu/</author_url>
  <blog_title>ノラプログラマーの技術メモ</blog_title>
  <blog_url>https://kawaidesu.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>概要 android開発で通知やサービスなどを利用する時に、intentに値を渡してアクティビティ間でデータをやり取りすることがあると思う。中でもPendingIntentを使っていると、intentに引数として渡した値（つまりputExtra関数でセットした値）が、受け取るActivity側で値が変わってしまう時がある。正確には古いデータが使われてしまうので、値が変わらないように見える。この辺はandroid開発者の鬼門とも言うべき箇所だと思うので、その解決法をメモしておく。 プログラム 一般的には、次のようなソースコードが書かれるはず。ネットで調べると以下のサンプルが多いけど、実はこれは非…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkawaidesu.hatenablog.com%2Fentry%2F2015%2F04%2F24%2F233404&quot; title=&quot;【android開発】intentで値が変わる時の対処方法 - ノラプログラマーの技術メモ&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>2015-04-24 23:34:04</published>
  <title>【android開発】intentで値が変わる時の対処方法</title>
  <type>rich</type>
  <url>https://kawaidesu.hatenablog.com/entry/2015/04/24/233404</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
