Created
November 16, 2018 09:40
-
-
Save PhilippeBoisney/1131504def3d9de88d97485a276dff5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class YourActivity : Activity() { | |
private val signInButton: Button by bindView(R.id.activity_signin_button) | |
private val signUpButton: Button by bindView(R.id.activity_signup_button) | |
// ... | |
} | |
class YourViewHolder(parent : View) : RecyclerView.ViewHolder(parent){ | |
private val title: TextView by bindView(R.id.item_title) | |
private val imageView: ImageView by bindView(R.id.item_image) | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment