<@U0X7KEUKX>: Can you try to make the constructor ...
# android
k
@adambl4: Can you try to make the constructor explicit? I use this always and it works.
Copy code
class Foo : LinearLayout {
  @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyle: Int = 0, defStyleRes: Int = 0): super(context, attrs, defStyle, defStyleRes) {
  }
}