After I updated to Android Studio 3.0 Beta 2 and bumped build tools and support library to 26.0.1 with compile and target sdk versions set to 26 passing variables to included layouts is no longer working.
The following code was working before but is no longer working:
<include
android:id="@+id/list_empty_layout"
layout="@layout/empty_list_state_layout"
app:viewModel="@{viewModel.listStateViewModel}" />
In my included layout I have the following
<data>
<variable
name="viewModel"
type="viewmodels.BaseListStateViewModel" />
</data>
As I said, this was working before with build tools 25.0.3
Anyone have the same problem?
Edit:
I also forgot to mention that I updated the android gradle plugin to the following
classpath 'com.android.tools.build:gradle:3.0.0-beta2'