<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sankumee</author_name>
  <author_url>https://blog.hatena.ne.jp/sankumee/</author_url>
  <blog_title>ちくたく</blog_title>
  <blog_url>https://sankumee.hatenadiary.org/</blog_url>
  <categories>
    <anon>Android</anon>
  </categories>
  <description>AndroidのHandlerクラスは別スレッドからUI部品操作を用いる際に、よく使われる。Androidの場合はUIスレッドからでないとUI部品を操作できないという制約がある。どのサイトを見てもUIスレッドへイベントを送るための仕組みとして語られている。いやいや、それは事実だが、それだけでない。Handlerクラスはスレッド間通信のための仕組みである。もっと正確に言うと、Handlerインスタンスを生成したスレッドへイベントを送るための仕組みなのである。当たり前だと思う人も多いかもしれないが、多くの人はこのことを理解できていない。ソースレベルで説明してみる。よく書かれるソースは以下のような感…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsankumee.hatenadiary.org%2Fentry%2F20120329%2F1333021847&quot; title=&quot;Handlerクラスの正しい使い方（Androidでスレッド間通信） - ちくたく&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>2012-03-29 20:50:47</published>
  <title>Handlerクラスの正しい使い方（Androidでスレッド間通信）</title>
  <type>rich</type>
  <url>https://sankumee.hatenadiary.org/entry/20120329/1333021847</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
