I had successfully run the sample project with my credentials, and Then I Implemented this into my project, it is initialized successfully, but when clicking the button to show consent it gives me this error.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setTintList(android.content.res.ColorStateList)' on a null object reference
at com.cookieinformation.mobileconsents.ui.PreferenceItemViewHolder.(PrivacyPreferencesListAdapter.kt:113)
at com.cookieinformation.mobileconsents.ui.PrivacyPreferencesListAdapter.onCreateViewHolder(PrivacyPreferencesListAdapter.kt:52)
at com.cookieinformation.mobileconsents.ui.PrivacyPreferencesListAdapter.onCreateViewHolder(PrivacyPreferencesListAdapter.kt:24)
I copied everything from the sample app to my project, it is working in sample app but not in my project.