private AppCommon(string googleApiKeyNative, string googleApiKeyWeb, ILocationProvider locationProvider) { Inst = this; IsLoggedIn = false; GoogleApiKeyNative = googleApiKeyNative; GoogleApiKeyWeb = googleApiKeyWeb; Log = new Logger(); IsPassenger = new DynProp <bool> (true); LoadAppData(); PlacesProvider = new PlacesProvider(); DirectionsProvider = new DirectionsProvider(); LocationProvider = locationProvider; NearestPointProvider = new NearestPointProvider(); IsPassenger.Value = AppData.IsLastUserPassenger; }
private AppCommon(string googleApiKeyNative, string googleApiKeyWeb, ILocationProvider locationProvider) { Inst = this; IsLoggedIn = false; GoogleApiKeyNative = googleApiKeyNative; GoogleApiKeyWeb = googleApiKeyWeb; Log = new Logger (); IsPassenger = new DynProp<bool> (true); LoadAppData (); PlacesProvider = new PlacesProvider (); DirectionsProvider = new DirectionsProvider (); LocationProvider = locationProvider; NearestPointProvider = new NearestPointProvider (); IsPassenger.Value = AppData.IsLastUserPassenger; }