I’ve a repeating list wrapped in a Recycler View component. I’m trying to set the color of a LIKE button in the list component based on the logic that at least one record is available in another list (not the repeating item) where two fields in that list matches the currently logged in user (app variable) and the current Id of the repeating list.
The use case is a classic social media post with likes, share and comments. I’m currently focussing on the like button functionality but my approach is not working. I’ve a feeling I’m missing something here.
Here are some screen shots of my solution that may explain things better.
Please help if any of you faced a similar challenge.
This is the formula thats not working: