private void InitializeLibs(Bundle bundle) { Forms.SetFlags("FastRenderers_Experimental"); //Forms.SetFlags("CollectionView_Experimental"); CachedImageRenderer.Init(true); Popup.Init(this, bundle); Forms.Init(this, bundle); FileManager.SavingPath = ApplicationContext.GetExternalFilesDir(Environment.DirectoryDownloads).AbsolutePath; // Donwload manager CrossDownloadManager.Current.PathNameForDownloadedFile = file => { var fileName = file.Url.GetHashCode().ToString(); // string fileName= Path.GetFileName(file.Url); var path = Path.Combine( ApplicationContext.GetExternalFilesDir(Environment.DirectoryDownloads).AbsolutePath, fileName); return(path); }; FormsGoogleMaps.Init(this, bundle); FormsGoogleMapsBindings.Init(); UserDialogs.Init(this); CrossCurrentActivity.Current.Init(this, bundle); Material.Init(this, bundle); Popup.Init(this, bundle); PlotViewRenderer.Init(); Platform.Init(this, bundle); }
public FormsWatchface() { XForms.SetFlags("LightweightPlatform_Experimental"); _isInitialStart = true; }