the adapter to the recyclerview buttons did not work

You get NPE on add_to_meal_button = itemView.findViewById(; as add_meal_button id is not included in your layout

To solve this, change the id of your item layout button from add_to_meal_button to add_meal_button

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top