i have multiple poi's. info adapter initialized in map fragment. when i tap on i show info to user. but user can tap on button that will draw polyline from his loc to that tapped poi. i am using solution from the forum (https://www.b4x.com/android/forum/threads/mapsdecodepolyline.31499/#post-374702) and it works ok. from that decoding i get distance and duration. so when i get distance/duration i should refresh custom info window. but i don't know how.
if you want to update the infowindow created with the infowindowadapter with your own style in the state when it is open, there is no chance to do that. the infowindow is a kind of bitmap rendered internally from google maps lib. see https://developers.google.com/maps/documentation/android-api/infowindows for more information on that.