Button onclicklistener on infowindow in google map

android, google-maps, infowindow

Solution

Try it

mMap.setOnInfoWindowClickListener(new OnInfoWindowClickListener() {
        @Override
        public void onInfoWindowClick(Marker marker) {

        }
    });

Problem

How can i detect the button setOnClickListener in info window on google map? Actually in my info window i have a button and i want to click on that button. Is this possible to do this?

Original source

Related problems