我尝试在 中启动 Intent onInfoWindowClick
,但它冻结了:
@Override
public void onInfoWindowClick(Marker marker) {
TabGroupActivity parentActivity = (TabGroupActivity) getParent();
Context context = parentActivity.getApplicationContext();
Intent myIntent = new Intent(context, HouseDetailActivity.class);
parentActivity.startChildActivity("DetailActivity", myIntent);
}
如果我尝试在
public boolean onMarkerClick(final Marker marker)
它完美地工作。