Révision 340558f2 TestXamConnections/TestXamConnections.Android/MainActivity.cs
TestXamConnections/TestXamConnections.Android/MainActivity.cs | ||
---|---|---|
20 | 20 |
|
21 | 21 |
Xamarin.Essentials.Platform.Init(this, savedInstanceState); |
22 | 22 |
Forms.Init(this, savedInstanceState); |
23 |
DependencyService.RegisterSingleton<IConnectionServiceProvider>(new ConnectionServiceProvider());
|
|
23 |
DependencyService.RegisterSingleton<IConnexionServiceFournisseur>(new ConnexionServiceFournisseur());
|
|
24 | 24 |
DependencyService.RegisterSingleton<IBluetoothService>(new BluetoothService()); |
25 | 25 |
LoadApplication(new App()); |
26 | 26 |
} |
Formats disponibles : Unified diff