// TODO consider implementing other model of listeners connection, without activities being bound
@Override
  public void onCreate(@Nullable Bundle savedInstanceState)
  {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_map);
    initViews();
    Statistics.INSTANCE.trackConnectionState();
    if (MwmApplication.get().nativeIsBenchmarking())
      Utils.keepScreenOn(true, getWindow());
    // TODO consider implementing other model of listeners connection, without activities being bound
    Framework.nativeSetRoutingListener(this);
    Framework.nativeSetRouteProgressListener(this);
    Framework.nativeSetBalloonListener(this);
    mSearchController = new FloatingSearchToolbarController(this);
    mLocationPredictor = new LocationPredictor(new Handler(), this);
    processIntent(getIntent());
    SharingHelper.prepare();
  }
if (MwmApplication.get().nativeIsBenchmarking())
Utils.keepScreenOn(true, getWindow());
// TODO consider implementing other model of listeners connection, without activities being bound
Framework.nativeSetRoutingListener(this);
Framework.nativeSetRouteProgressListener(this);
@Override
public void onCreate(@Nullable Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_map);
initViews();
Statistics.INSTANCE.trackConnectionState();
if (MwmApplication.get().nativeIsBenchmarking())
Utils.keepScreenOn(true, getWindow());
// TODO consider implementing other model of listeners connection, without activities being bound
Framework.nativeSetRoutingListener(this);
Framework.nativeSetRouteProgressListener(this);
Framework.nativeSetBalloonListener(this);
mSearchController = new FloatingSearchToolbarController(this);
mLocationPredictor = new LocationPredictor(new Handler(), this);
processIntent(getIntent());
SharingHelper.prepare();
}
@Override
public void onCreate(@Nullable Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_map);
initViews();
Statistics.INSTANCE.trackConnectionState();
if (MwmApplication.get().nativeIsBenchmarking())
Utils.keepScreenOn(true, getWindow());
// TODO consider implementing other model of listeners connection, without activities being bound
Framework.nativeSetRoutingListener(this);
Framework.nativeSetRouteProgressListener(this);
Framework.nativeSetBalloonListener(this);
mSearchController = new FloatingSearchToolbarController(this);
mLocationPredictor = new LocationPredictor(new Handler(), this);
processIntent(getIntent());
SharingHelper.prepare();
}