<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>numanuma08</author_name>
  <author_url>https://blog.hatena.ne.jp/numanuma08/</author_url>
  <blog_title>covelline blog</blog_title>
  <blog_url>https://blog.covelline.com/</blog_url>
  <categories>
  </categories>
  <description>Jetpack Composeで画面全体のデザインとロジックを作り込むとき、プレビューを表示しつつ開発することで効率が上る可能性があります。しかし、プレビューは、ネットワークアクセスやファイルアクセス、Contextの利用が一部制限されます。そのため、プレビューに表示するデータはFakeデータやViewModelを用意して、プレビュー表示時のみの振る舞いを実現します。 その一方で、FakeViewModelの実装や管理にもコストがかかってしまいそうです。今回の記事はFakeViewModelを使うべきか、使わないべきときはなんなのかをまとめます。 FakeViewModel とは</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.covelline.com%2Fentry%2F2022%2F04%2F14%2F235016&quot; title=&quot;Jetpack Compose 画面全体のプレビューを出すにはどうしたら良い？ - covelline blog&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-04-14 23:50:16</published>
  <title>Jetpack Compose 画面全体のプレビューを出すにはどうしたら良い？</title>
  <type>rich</type>
  <url>https://blog.covelline.com/entry/2022/04/14/235016</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
