Created
January 23, 2020 19:54
-
-
Save AmaroNeto/d4c54d5fa213786ca091821e3fe597a7 to your computer and use it in GitHub Desktop.
AdapterObject-3
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
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int) : ViewHolder<ViewDataBinding> { | |
val bind : ViewDataBinding = DataBindingUtil.bind(LayoutInflater | |
.from(parent.context) | |
.inflate(viewType,parent,false))!! | |
return ViewHolder(bind) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment