<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eaglesakura</author_name>
  <author_url>https://blog.hatena.ne.jp/eaglesakura/</author_url>
  <blog_title>eaglesakuraの技術ブログ</blog_title>
  <blog_url>https://eaglesakura.hatenablog.com/</blog_url>
  <categories>
    <anon>Android</anon>
  </categories>
  <description>バージョン &quot;implementation&quot;(&quot;androidx.constraintlayout:constraintlayout:2.0.0-beta2&quot;) 問題点 MotionLayout配下にFrameLayoutを配置し、動的にコンテンツを入れ替える MotionLayoutはアニメーションで２つのレイアウト間を遷移させている 特定条件下で、MotionLayoutの初期状態を 遷移後のレイアウト にしている 処理としてはこんなの if (/* 特殊な場合 */) { // 強制的に遷移状態にしておく motionLayout.progress = 1.0f motionLayout…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feaglesakura.hatenablog.com%2Fentry%2F2019%2F08%2F20%2F113447&quot; title=&quot;特定条件下でMotionLayout配下のViewが再描画されない問題のWorkaround - eaglesakuraの技術ブログ&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-08-20 11:34:47</published>
  <title>特定条件下でMotionLayout配下のViewが再描画されない問題のWorkaround</title>
  <type>rich</type>
  <url>https://eaglesakura.hatenablog.com/entry/2019/08/20/113447</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
