I'm trying to create a BalloonPopup that has 2 different buttons or interactive elements, but I don't seem to manage a way to do this. The guide I'm following is here https://carto.com/developers/mobile-sdk/guides/vector-objects-on-map/#balloonpopup in the "Add a BalloonPopup" section.
I did manage to detect onClick events on the BalloonPopup setting a
setVectorElementEventListener in the associated Layer. But I don't find a way of detecting which element inside of the BalloonPopup was clicked.
Basically what I want is to have 2 different buttons inside the Balloon, and then detect which of them has been clicked, so I can perform 2 different actions.
I could open an Android floating dialog, but it won't look as great as this would.
Any help will be more than welcome.