[android-developers] RecyclerView Causing NullPointer on Individual CardView

2016-05-25 Thread CiDsTaR
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

[android-developers] RecyclerView Causing NullPointer on Individual CardView

2016-05-24 Thread Troy Chuinard
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) {