I have the following code:
public class AlertViewOnMap extends Activity {
//declarations
ArrayList dateCreatedAtList = new ArrayList&l
To asnwer your question: it doesn't seem like Marker allows any 'set' methods like View's tag as per here
I think Haresh's solution is the generally right one.
I'd just make the following correction to the following method:
public GoogleMap.OnMarkerClickListener getInfoMarkerClickListener()
The line:
alertTimeTextView.setText(dateCreatedAtList.get(alert.getId()));
should be :
alertTimeTextView.setText(alert.getCreatedAt());