📅  最后修改于: 2022-03-11 14:57:30.130000             🧑  作者: Mango
class PostsVH(itemView : View)
: RecyclerView.ViewHolder(itemView)
{
fun bind(get : UserPosts?) {
itemView.txt_userId.text = get?.userId.toString()
itemView.txt_id.text = get?.idPost.toString()
itemView.txt_title.text = get?.title
itemView.txt_body.text = get?.body
}
}