Thanks so much. I'll take a look at that. I still can't get it to work but I'm getting really tangled up and need to take a break. I’m mostly not understanding why it works to get the function from the other adapter’s interface and not from this one. But getting too frustrated to think clearly 😑
a
Adam Cooper
09/15/2022, 7:43 PM
I've been there before :)
g
gian
09/16/2022, 9:56 AM
Looking at the logic, I'm assuming you need to pass an instance of
OnDeleteItemClickListener
to the adapter instead of calling the companion object.