onClick button listeners in CardLayout not working
I have two buttons in my CardLayout that I want toast to show:
When button clicked, show "Saved"
When button clicked, copied to clipboard
I have the text in place, it should work, however there are no error codes so difficult to understand. My CardLayout is in recycler view, is that why it isn't showing?
CardLayout.xml
CardLayout.kt
package com.example.what2do_v6.ui
import android.content.ClipData
import...