mercredi 2 décembre 2020

How to get string from a list of recyclerview checkBox when a checkbox is clicked

I have encounter the error java.lang.NullPointerException: Attempt to read from field 'java.util.ArrayList com.example.task31fixes.myCuisineAdapter.checkedCuisines' on a null object reference at com.example.task31fixes.Main2Activity$5.onClick(Main2Activity.java:169).

I am trying to get the string data from my list of Cuisine's Image CheckBoxes and want to pass it as parcelable to the MainActivity.

Here is the code repository: https://github.com/Stekka945/CafeBookingApp.git




Aucun commentaire:

Enregistrer un commentaire