<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuxumarin</author_name>
  <author_url>https://blog.hatena.ne.jp/kuxumarin/</author_url>
  <blog_title>くうと徒然なるままに</blog_title>
  <blog_url>https://kuxumarin.hatenablog.com/</blog_url>
  <categories>
    <anon>Android</anon>
  </categories>
  <description>Chrome Custom Tabs には Pre Fetch という機能が存在します。 これは、 Chrome Custom Tabs でウェブページを表示する前に事前に読み込んでおくことで表示速度の最適化を行える機能です。 自前実装しようとすると大変なこの機能ですが、 Google Chrome の機能を使うことで簡略に実装することができます。 ウェブ上にあるサンプルをググってもJava で書かれているものが多く精神衛生上よくありません。 ということで、Kotlin っぽく書いてみます。 class Fragment : Fragment() { private var customTab…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkuxumarin.hatenablog.com%2Fentry%2F2019%2F03%2F04%2F200000&quot; title=&quot;Chrome Custom Tabs の Pre Fetch を Kotlin っぽく書いてみた。 - くうと徒然なるままに&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>2019-03-04 20:00:00</published>
  <title>Chrome Custom Tabs の Pre Fetch を Kotlin っぽく書いてみた。</title>
  <type>rich</type>
  <url>https://kuxumarin.hatenablog.com/entry/2019/03/04/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
