treelzebub
09/14/2017, 9:54 PM// :module-a / include_header.xml
<TextView
android:id="@+id/header_text"
... />
// :module-b / my_layout.xml
<include
android:id="@+id/header"
layout="layout="@layout/include_header"
// :module-b / MyActivity.kt
header_text.text = "foo"
This throws the familiar Unresolved reference
exception. I have also tried referencing it as header.header_text
. Any ideas would be much appreciated!