<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>glass-_-onion</author_name>
  <author_url>https://blog.hatena.ne.jp/glass-_-onion/</author_url>
  <blog_title>A Day In The Life</blog_title>
  <blog_url>https://glassonion.hatenablog.com/</blog_url>
  <categories>
    <anon>androidm5</anon>
  </categories>
  <description>Android SDKをM5にアップグレードしてからListActivityクラスのgetListView().getSelectedItem()メソッドがどうもおかしいです。 現象： onListItemClickイベントでgetListView().getSelectedItem()を呼ぶと毎回nullが返ってくる。 他のイベントから呼ばれた場合は問題なく動く うまく動くアクティビティとうまく動かないアクティビティがある。 対策： getListView().getSelectedItem()メソッドを使わずにgetListView().getAdapter().getItemメソッドを使…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fglassonion.hatenablog.com%2Fentry%2F20080220%2F1203496826&quot; title=&quot;getListView().getSelectedItem()メソッドがおかしい - A Day In The 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>2008-02-20 17:40:26</published>
  <title>getListView().getSelectedItem()メソッドがおかしい</title>
  <type>rich</type>
  <url>https://glassonion.hatenablog.com/entry/20080220/1203496826</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
