예제 #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(Activity activity)
        {
            if (s_isInitialized)
            {
                return;
            }
            Inspector.Instance = new Util.Inspector();
            InternalDatePickerRenderer.Initialize();
            InternalButtonRenderer.Initialize();

            var vibrationService = new VibrationService();

            Vibration.Vibration.Initialize(vibrationService);
            VibrationService.Initialize(activity);
            s_isInitialized = true;
        }
예제 #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()
 {
     Inspector.Instance = new Util.Inspector();
     InternalDatePickerRenderer.Initialize();
 }