<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Tackn1977</author_name>
  <author_url>https://blog.hatena.ne.jp/Tackn1977/</author_url>
  <blog_title>Tacknのつぶやき</blog_title>
  <blog_url>https://tackn1977.hatenadiary.org/</blog_url>
  <categories>
    <anon>開発</anon>
    <anon>android</anon>
  </categories>
  <description>通常画面の縦横が切り替わった場合Activityの破棄と生成が行われてしまう これをしたく無い場合がある。リスト表示をしている場合等で横に切り替えた場合にリストが先頭に初期化されてしまう これを防ぐ方法を見つけた*1 *2 *3 public void onSaveInstanceState (Bundle savedInstanceState) public void onPause() //画面切替 public void onStop() public void onDestroy() //Activityの破棄と生成 public void onCreate(Bundle savedI…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftackn1977.hatenadiary.org%2Fentry%2F20120408%2F1333851657&quot; title=&quot;Androidの画面の縦横切り替え時に元リスト位置の保持 / R.drawable のリスト表示 - Tacknのつぶやき&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>https://cdn-ak.f.st-hatena.com/images/fotolife/T/Tackn1977/20120408/20120408111930.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-04-08 11:20:57</published>
  <title>Androidの画面の縦横切り替え時に元リスト位置の保持 / R.drawable のリスト表示</title>
  <type>rich</type>
  <url>https://tackn1977.hatenadiary.org/entry/20120408/1333851657</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
