Created
January 19, 2017 23:12
-
-
Save pawegio/319ff7e6031f8ce6da55c1f095d4fda4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
open class ViewHolder(view: View, val action: ((Item) -> Unit)? = null) : RecyclerView.ViewHolder(view) { | |
// ... | |
} | |
class AViewHolder(view: View, action: ((Item) -> Unit)? = null) : ViewHolder(view, action) { | |
// ... | |
} | |
class BViewHolder(view: View, action: ((Item) -> Unit)? = null) : ViewHolder(view, action) { | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment