Ejemplo n.º 1
0
        /// <summary>
        /// Method to call at startup of the app in order to keep assemblies and to run other initializing methods in the library
        /// </summary>
        public static void Initialize()
        {
            if (s_isInitialized)
            {
                return;
            }
            DIPS.Xamarin.UI.Internal.Utilities.Inspector.Instance = new Inspector();
            InternalDatePickerRenderer.Initialize();

            var vibrationService = new VibrationService();

            Vibration.Vibration.Initialize(vibrationService);
            VibrationService.Initialize();
            s_isInitialized = true;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Method to call at startup of the app in order to keep assemblies and to run other initializing methods in the library
 /// </summary>
 public static void Initialize()
 {
     DIPS.Xamarin.UI.Internal.Utilities.Inspector.Instance = new Inspector();
     InternalDatePickerRenderer.Initialize();
 }