This repository has been archived by the owner on Jul 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
android.support.design.widget.TextInputEditText #205
Labels
Milestone
Comments
Now, with the new com.android.support:design:24.2.0 library, apps force close: java.lang.ClassCastException: android.widget.EditText cannot be cast to android.support.design.widget.TextInputEditText Any workaround to use before TextInputEditText is added in anko @yanex ? |
Define this somewhere:
and you'll be able to write this:
|
@abond working perfectly, thanks for the help! |
@abond Could you please elaborate ? Why does this work ? |
@Rahulkr2 The principles of building DSL's in Kotlin well described in this article https://kotlinlang.org/docs/reference/type-safe-builders.html. |
how to make XML android.support.design.widget.TextInputEditText in kotlin? |
CrackerCat
pushed a commit
to CrackerCat/anko
that referenced
this issue
Jul 31, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello!
Please, add this widget to your DSL.
Thanks!
The text was updated successfully, but these errors were encountered: