この「新しい」Android ビュー バインディングに問題があります。<include>
XML レイアウト ファイルで
を使用しようとすると、例外が発生し ます。<include layout="@layout/teaser_agreement" />
インクルード ファイルは単なる基本的なレイアウト ファイルです。<include>
タグを、含める必要があるレイアウトコードに直接置き換えると、すべて正常に機能します。
これは、生成されたクラスの例外です。
error: incompatible types: TeaserAgreementBinding cannot be converted to ViewDataBinding
setContainedBinding(this.mboundView11);
助言がありますか?
Thx、ミルコ