<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>KeithYokoma</author_name>
  <author_url>https://blog.hatena.ne.jp/KeithYokoma/</author_url>
  <blog_title>Infinito Nirone 7</blog_title>
  <blog_url>https://blog.keithyokoma.dev/</blog_url>
  <categories>
  </categories>
  <description>前回の続きで、Kotlin Coroutines の StateFlow を利用した AAC ViewModel のテストをする場合の Kotlin Coroutines 1.6.0 の記述について。 blog.keithyokoma.dev StateFlow をつかった AAC ViewModel 次のような AAC ViewModel を継承した SomeViewModel を作ります。 内部で StateFlow&lt;String&gt; を持っており、この StateFlow&lt;String&gt; の値を Jetpack Compose などで購読して使うような想定です。 StateFlow&lt;Str…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.keithyokoma.dev%2Fentry%2F2022%2F01%2F19%2F172139&quot; title=&quot;AAC ViewModel と StateFlow を組み合わせたときのユニットテスト - Infinito Nirone 7&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>2022-01-19 17:21:39</published>
  <title>AAC ViewModel と StateFlow を組み合わせたときのユニットテスト</title>
  <type>rich</type>
  <url>https://blog.keithyokoma.dev/entry/2022/01/19/172139</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
