ey guys! Is Anko supported for any kind of views? ...
# anko
f
ey guys! Is Anko supported for any kind of views? I'm trying to reference a view with anko but I always get this same error
Copy code
Error:(24, 14) Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public val android.app.Activity.tv_preview_title: com.devspark.robototextview.widget.RobotoTextView! defined in kotlinx.android.synthetic.url_preview
public val android.app.Fragment.tv_preview_title: com.devspark.robototextview.widget.RobotoTextView! defined in kotlinx.android.synthetic.url_preview
public val android.support.v4.app.Fragment.tv_preview_title: com.devspark.robototextview.widget.RobotoTextView! defined in kotlinx.android.synthetic.url_preview