| Start |
|---|
| Using Views Assuming we have an activity with an example layout called We can use Kotlin extensions to call the button without any additional binding like so: You can also import all ids appearing in layout with a Synthetic views can't be used outside of Activities/Fragments/Views with that layout inflated: |
| Configuration Start with a properly configured gradle project (opens new window). In your project-local (not top-level) |
Painfull listener for getting notice, when the view is completely drawn now is so simple and awesome with Kotlin's extension Under the hood |
| Product flavors Android extensions also work with multiple Android Product Flavors. For example if we have flavors in And for example, only the free flavor has a buy button: We can bind to the flavor specifically: |
Read Article
https://develop.horje.com/learn/1434/reference