Esempio n. 1
0
        private static void InitializeDependencies()
        {
            Toolkit.Init();

            ShareImplementation.ExcludedUIActivityTypes = new List <NSString>
            {
                UIActivityType.PostToFacebook,
                UIActivityType.AssignToContact,
                UIActivityType.OpenInIBooks,
                UIActivityType.PostToVimeo,
                UIActivityType.PostToFlickr,
                UIActivityType.SaveToCameraRoll
            };
            ImageCircleRenderer.Init();
            NonScrollableListViewRenderer.Initialize();
            SelectedTabPageRenderer.Initialize();

            CachedImageRenderer.Init();

            // this is needed to tell linker to keep this type. See https://github.com/luberda-molinet/FFImageLoading/issues/462
            var ignore = new CircleTransformation();

            // this is needed to tell linker to keep this type
            var dummy = new DateTimeOffsetConverter();
        }
Esempio n. 2
0
        private static void InitializeDependencies()
        {
            Toolkit.Init();

            ImageCircleRenderer.Init();
            NonScrollableListViewRenderer.Initialize();
            SelectedTabPageRenderer.Initialize();

            CachedImageRenderer.Init();

            // this is needed to tell linker to keep this type. See https://github.com/luberda-molinet/FFImageLoading/issues/462
            var ignore = new CircleTransformation();

            // this is needed to tell linker to keep this type
            var dummy = new DateTimeOffsetConverter();
        }
Esempio n. 3
0
        private static void InitializeDependencies()
        {
            Toolkit.Init();

            AppIndexing.SharedInstance.RegisterApp(PublicationSettings.iTunesAppId);

            ShareImplementation.ExcludedUIActivityTypes = new List <NSString>
            {
                UIActivityType.PostToFacebook,
                UIActivityType.AssignToContact,
                UIActivityType.OpenInIBooks,
                UIActivityType.PostToVimeo,
                UIActivityType.PostToFlickr,
                UIActivityType.SaveToCameraRoll
            };
            ImageCircleRenderer.Init();
            NonScrollableListViewRenderer.Initialize();
            SelectedTabPageRenderer.Initialize();
            TextViewValue1Renderer.Init();
            PullToRefreshLayoutRenderer.Init();

            CachedImageRenderer.Init();
        }