Hi.
On ViewHolder(View view) constructor, you have to call view.findViewById
insteadof just findViewById.
Hope this help you.
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from
I am using a RecylerView to populate CardView items. I am noticing that the
RecyclerView is generating a NullPointer here, as for some reason the
RecyclerView references the parent view and not the individual CardView.
I believe the error is occurring here:
public ViewHolder(View v) {
2 matches
Mail list logo