private void OnPlayButtonClick(object sender, EventArgs e) { if (_game != null) { var processInfo = new ProcessStartInfo(_game.Location, _game.PathAddition); Process.Start(processInfo); var loadingIndicator = new LoadingIndicator(); Controls.Add(loadingIndicator); loadingIndicator.GameInfo = _game; loadingIndicator.Location = new Point(312, 181); loadingIndicator.BringToFront(); if (_settings != null && _settings.CloseLauncherOnGameStart) { ParentForm?.Close(); } } else { MessageBox.Show(this, "The game path couldn't been located. Please select the right location in the settings tab.", "Game location not found", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
IEnumerator OnLoading() { var done = false; LoadingIndicator.On(() => done); App.Open(); yield return(null); AppImpl.AudioSources = this.audioSources; yield return(null); AppImpl.Open(); yield return(null); AppImpl.SetEventSystem(this.mainEventSystem, this.mainInputModule); yield return(null); this.presentType = Startup.ForceStartPresent; if (null == this.presentType) { var presentFullname = string.Format("Program.Presents.{0}", this.presentName); this.presentType = Type.GetType(presentFullname); } yield return(null); this.loaded = true; if (null != this.presentType) { Present.OpenNextPresent(this.presentType, Present.LoadRuleData.Direct, null, () => done = true); } }
public void toggleLI(LoadingIndicator LI) { this.Dispatcher.Invoke(() => { LI.IsActive = !LI.IsActive; }); }
// Start is called before the first frame update void Start() { doneLoading = false; prevSize = GameObject.Find("Video Player").GetComponent <RectTransform>().rect.width; DontDestroyOnLoad(GameObject.Find("Audio")); if (!GameObject.Find("Audio").GetComponent <AudioSource>().isPlaying) { GameObject.Find("Audio").GetComponent <AudioSource>().Play(); } var loading = GameObject.Find("Loading"); isLoading = loading.GetComponent("LoadingIndicator") as LoadingIndicator; GameObject.Find("Video Player").GetComponent <RectTransform>().SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, 0); GameObject.Find("Video Player").GetComponent <YoutubePlayer.YoutubePlayer>().YoutubeVideoStarting += Loaded; myDB db = GameObject.Find("Scripts").GetComponent <myDB>(); wordslist = db.WordLottery(); correctWord = wordslist[0]; PlayerPrefs.SetString("LastCorrect", correctWord); PlayerPrefs.Save(); Debug.Log("correctWord is: " + correctWord); //add correct word again for better chance at winning, and also 5 wrong duplicates to prevent cheesing wordslist.AddRange(wordslist.Take(6)); shuffleList(wordslist); TextObjInGame = wordslist.Count; }
void ReleaseDesignerOutlets() { if (AccountsTable != null) { AccountsTable.Dispose(); AccountsTable = null; } if (AvatarImage != null) { AvatarImage.Dispose(); AvatarImage = null; } if (FetchButton != null) { FetchButton.Dispose(); FetchButton = null; } if (NameTextField != null) { NameTextField.Dispose(); NameTextField = null; } if (LoadingIndicator != null) { LoadingIndicator.Dispose(); LoadingIndicator = null; } }
public override void ViewDidLoad() { base.ViewDidLoad(); LoadingIndicator.Center = View.Center; LoadingIndicator.StartAnimating(); WebView.ScalesPageToFit = true; WebView.ContentMode = UIViewContentMode.ScaleAspectFit; WebView.LoadFinished += WebViewLoadFinished; if (NetworkStatus.IsDataConnectionAvailable()) { WebView.LoadRequest(new NSUrlRequest(new NSUrl(Uri))); WebView.SizeToFit(); } else { // note this this will thorw a native exception if the cache web page does not exist. // cannot find a work around at the moment WebView.LoadRequest(new NSUrlRequest(new NSUrl(Uri), NSUrlRequestCachePolicy.ReturnCacheDataDoNotLoad, 60)); WebView.SizeToFit(); } WebView.Frame = View.Bounds; }
/// <summary> /// If the user have credential store in local /// Launch the auto connection /// </summary> private async void AutoConnexion() { LoadingIndicator.Hidden = false; LoadingIndicator.StartAnimating(); EmailTextField.Hidden = true; PasswordTextField.Hidden = true; WhatIsSeekiosButton.Hidden = true; LoginButton.Hidden = true; //_facebookButton.Hidden = true; CreateAccountButton.Hidden = true; ForgetPasswordButton.Hidden = true; await App.Locator.Login.AutoConnect(DeviceInfoHelper.DeviceModel , DeviceInfoHelper.Platform , DeviceInfoHelper.Version , DeviceInfoHelper.GetDeviceUniqueId , DeviceInfoHelper.CountryCode); LoadingIndicator.StopAnimating(); LoadingIndicator.Hidden = true; EmailTextField.Hidden = false; PasswordTextField.Hidden = false; WhatIsSeekiosButton.Hidden = false; LoginButton.Hidden = false; //_facebookButton.Hidden = false; CreateAccountButton.Hidden = false; ForgetPasswordButton.Hidden = false; }
void Awake() { Input.backButtonLeavesApp = true; _itemViewInitializer = FindObjectOfType <ItemViewInitializer>(); _loadingIndicator = GetComponentInChildren <LoadingIndicator>(); _itemViewInitializer.Center = transform.position; }
protected void HideLoadingDialog() { if (loadingIndicator != null) { loadingIndicator.Dismiss(); } loadingIndicator = null; }
protected override void OnAppearing() { try { if (attachnew.Count == 0) { attachnew = levobj.attachment; } } catch { int j = 0; } base.OnAppearing(); MessagingCenter.Subscribe <string, bool>("MyApp", "deleteMsg", async(sender, arg) => { var currentpage = new LoadingIndicator(); await PopupNavigation.Instance.PushAsync(currentpage); int db_id = levobj.dbid_error_txt; App._connection.Query <LeavesModelDB>("DELETE FROM LeavesModelDB WHERE Dbid=?", db_id); App._connection.CreateTable <LeavesModelDB>(); var details = (from y in App._connection.Table <LeavesModelDB>() select y).ToList(); App.leaves_listDb = details; var del = App.leaves_list.RemoveAll(x => x.dbid_error_txt == db_id); App.Current.MainPage = new MasterPage(new LeavesPage()); Loadingalertcall(); }); MessagingCenter.Subscribe <string, List <AttachmentFile> >("MyApp", "updategalleryMsg", async(sender, arg) => { attachviewlist.IsVisible = true; attachviewlist.ItemsSource = null; attachviewlist.HeightRequest = 45 * arg.Count; attachviewlist.ItemsSource = arg; // System.Diagnostics.Debug.WriteLine("fileeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" + attachviewlist.HeightRequest); }); MessagingCenter.Subscribe <string, List <AttachmentFile> >("MyApp", "updatecameraMsg", async(sender, arg) => { attachviewlist.IsVisible = true; // attachviewlist.ItemsSource = attachnew; attachviewlist.ItemsSource = null; attachviewlist.ItemsSource = arg; attachviewlist.HeightRequest = 45 * arg.Count; System.Diagnostics.Debug.WriteLine("fileeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" + attach.Count); }); }
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Android.OS.Bundle savedInstanceState) { HasOptionsMenu = true; base.OnCreateView(inflater, container, savedInstanceState); _loadingIndicator = new LoadingIndicator(Activity); var set = this.CreateBindingSet<BlogOverviewView, BlogOverviewViewModel>(); set.Bind(_loadingIndicator).For(pi => pi.Visible).To(vm => vm.IsLoading); set.Apply(); return this.BindingInflate(Resource.Layout.fragment_blogoverview, null); }
public override void ViewDidLoad() { base.ViewDidLoad(); this.View.WantsLayer = true; remoteVideo.WantsLayer = true; localVideo.WantsLayer = true; HideVideoMuted(); InitializeAgoraEngine(); SetupVideo(); SetupLocalVideo(); JoinChannel(); LoadingIndicator.StartAnimation(this); }
// Handlers private void LoadingIndicator_PreviewMouseDoubleClick(object sender, MouseButtonEventArgs e) { LoadingIndicator li = (LoadingIndicator)sender; if (li.SpeedRatio == 1.0) { li.SpeedRatio = 0.3; } else { li.SpeedRatio = 1.0; } }
private async void StartSearchingTags(string style, string text, double x, double y) { // loading container var container = new StackPanel { Orientation = Orientation.Horizontal }; // setup loading indicator var loadingNotebookIcon = new LoadingIndicator { SpeedRatio = 1, IsActive = true, Width = ICON_SIZE_BIGGER, Height = ICON_SIZE_BIGGER }; loadingNotebookIcon.SetResourceReference(StyleProperty, style); container.Children.Add(loadingNotebookIcon); // setup loading text var textBlock = new TextBlock { Text = text, FontFamily = new System.Windows.Media.FontFamily("Segoe UI Light"), FontSize = FONT_SIZE_BIGGER, VerticalAlignment = VerticalAlignment.Center, Margin = new Thickness(10, 0, 0, 0) }; textBlock.SetResourceReference(ForegroundProperty, "AccentColorBrush"); container.Children.Add(textBlock); // setup and run Canvas.SetLeft(container, x); Canvas.SetTop(container, y); MainCanvas.Children.Add(container); // wait a coupe of seconds and show notebooks await Task.Delay(TAG_EXTRACT_TIME_MS); await Dispatcher.InvokeAsync(() => { if (!_reseted) { MainCanvas.Children.Remove(container); SetupTagIcons(x + 100, y); } }); }
/// <summary> /// Set up data and style to the view /// </summary> public override void SetDataAndStyleToView() { Title = Application.LocalizedString("MapHistoricTitle"); //Initialise all strings InitialiseAllStrings(); // display the loading layout if (!App.Locator.Historic.LsSeekiosLocations.Any(a => a.IdSeekios == MapViewModelBase.Seekios.Idseekios)) { LoadingIndicator.Hidden = false; LoadingIndicator.StartAnimating(); } // set up the text of the current position PositionLabel.Text = string.Format(Application.LocalizedString("HistoricPosition"), 1, 1); // set up the dates UpperDateLabel.Text = App.Locator.Historic.CurrentUpperDate.ToString("M"); LowerDateLabel.Text = App.Locator.Historic.CurrentLowerDate.ToString("M"); UpperDateLabel.AdjustsFontSizeToFitWidth = true; LowerDateLabel.AdjustsFontSizeToFitWidth = true; // get the data for one month ago System.Threading.Tasks.Task result = App.Locator.Historic.GetLocationsBySeekios( MapViewModelBase.Seekios.Idseekios , App.Locator.Historic.CurrentLowerDate , App.Locator.Historic.CurrentUpperDate); // set up the call back when data are load App.Locator.Historic.OnGetLocationsComplete += Historic_OnGetLocationsComplete;; // set the seekbar with default values Slider.MaxValue = 0; Slider.Value = 0; if (App.Locator.Historic.LsSeekiosLocations != null && App.Locator.Historic.LsSeekiosLocations.Any(a => a.IdSeekios == MapViewModelBase.Seekios.Idseekios)) { UpdateView(); LoadingIndicator.Hidden = true; } else { PositionLabel.Text = Application.LocalizedString("NoHistoricPosition"); UpperDateLabel.Hidden = true; LowerDateLabel.Hidden = true; } }
public void Login(string userName, string password) { if (_loginServiceClient != null) { try { LoadingIndicator.Push(); _loginServiceClient.Login(userName, password, true); } catch (Exception ex) { Console.WriteLine(ex); } } }
public override void ViewDidLoad() { base.ViewDidLoad(); this.View.WantsLayer = true; localVideo.WantsLayer = true; HideVideoMuted(); InitializeAgoraEngine(); SetupVideo(); ResetButtons(); SetupLocalVideo(); JoinChannel(); RtmService.Instance.OnLogin += OnRtmLogin; RtmService.Instance.OnJoinChannel += OnRtmJoin; RtmService.Instance.OnSignalReceived += OmMessageReceived; InitAndJoinRtm(); LoadingIndicator.StartAnimation(this); }
/// <summary> /// Reset the password of the user /// </summary> private async void ResetPasswordButton_TouchUpInside(object sender, EventArgs e) { LoadingIndicator.StartAnimating(); if (EmailTextFieldOfForgetPassword.Text.IsEmail()) { await App.Locator.Login.ForgetPassword(EmailTextFieldOfForgetPassword.Text); EmailTextFieldOfForgetPassword.Layer.BorderColor = UIColor.FromRGB(229, 229, 229).CGColor; EmailTextFieldOfForgetPassword.Layer.BorderWidth = 1; EmailTextFieldOfForgetPassword.Layer.CornerRadius = 4; } else { EmailTextFieldOfForgetPassword.Layer.BorderColor = UIColor.FromRGBA(255, 76, 57, 255).CGColor; EmailTextFieldOfForgetPassword.Layer.BorderWidth = 1; EmailTextFieldOfForgetPassword.Layer.CornerRadius = 4; } }
// Start is called before the first frame update void Start() { gameManager = FindObjectOfType <GameManager>(); titleMesh = Instantiate( whatIsTitle, transform.position + Vector3.up * (transform.localScale.y + 2), Quaternion.identity) .GetComponent <TMPro.TextMeshPro>(); titleMesh.text = goalName; loadingIndicator = Instantiate( whatIsLoadingIndicator, transform.position + Vector3.up * (transform.localScale.y + 2) + Vector3.left * (transform.localScale.x + 1), Quaternion.identity) .GetComponent <LoadingIndicator>(); ResetLoadingIndicator(); }
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Android.OS.Bundle savedInstanceState) { HasOptionsMenu = true; base.OnCreateView(inflater, container, savedInstanceState); _loadingIndicator = new LoadingIndicator(Activity); var set = this.CreateBindingSet<SuggestionsListView, SuggestionsListViewModel>(); set.Bind(_loadingIndicator).For(pi => pi.Visible).To(vm => vm.IsLoading); set.Apply(); var act = Activity as MvxActionBarActivity; if (act != null) { act.SupportActionBar.Title = ViewModel.Title; } return this.BindingInflate(Resource.Layout.fragment_suggestions_list, null); }
void ReleaseDesignerOutlets() { if (GreenCImg != null) { GreenCImg.Dispose(); GreenCImg = null; } if (IsSchnitzelLabel != null) { IsSchnitzelLabel.Dispose(); IsSchnitzelLabel = null; } if (LoadingIndicator != null) { LoadingIndicator.Dispose(); LoadingIndicator = null; } if (LoadingLabel != null) { LoadingLabel.Dispose(); LoadingLabel = null; } if (MainImgView != null) { MainImgView.Dispose(); MainImgView = null; } if (RedXImg != null) { RedXImg.Dispose(); RedXImg = null; } if (SelectImgLabel != null) { SelectImgLabel.Dispose(); SelectImgLabel = null; } }
public override void OnEntering(IScreen last) { base.OnEntering(last); LoadComponentAsync(loadingIndicator = new LoadingIndicator { Anchor = Anchor.BottomRight, Origin = Anchor.BottomRight, Margin = new MarginPadding(20) }, _ => { AddInternal(loadingIndicator); indicatorShow = Scheduler.AddDelayed(loadingIndicator.Show, 200); }); LoadComponentAsync(precompiler = CreateShaderPrecompiler(), AddInternal); LoadComponentAsync(loadableScreen = CreateLoadableScreen()); checkIfLoaded(); }
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { base.OnCreateView(inflater, container, savedInstanceState); _loadingIndicator = new LoadingIndicator(Activity); ViewModel.PropertyChanged += LoginView_PropertyChanged; var set = this.CreateBindingSet<LoginView, LoginViewModel>(); set.Bind(_loadingIndicator).For(pi => pi.Visible).To(vm => vm.IsLoading); set.Apply(); var view = this.BindingInflate(Resource.Layout.login, null); var lostPassButton = view.FindViewById(Resource.Id.buttonLostPass); lostPassButton.Click += lostPassButton_Click; return view; }
public AvailablePackagesPage() { style.flex = 1; BindToState( packages.IsFetchingPackages ); loadingIndicator = new LoadingIndicator("Fetching Packages..."); // TopBar topBar = new VisualElement(); topBar.style.height = 32; topBar.style.flexDirection = FlexDirection.Row; topBar.Add(new RefreshButton()); topBar.Add(searchBar = new SearchBar()); packageListView = new PackageListView(); Init(); }
void ReleaseDesignerOutlets() { if (LoadingIndicator != null) { LoadingIndicator.Dispose(); LoadingIndicator = null; } if (StoryView != null) { StoryView.Dispose(); StoryView = null; } if (WebView != null) { WebView.Dispose(); WebView = null; } }
IEnumerator DownloadPhoto(string url) { UnityWebRequest request = UnityWebRequestTexture.GetTexture(url); yield return(request.SendWebRequest()); if (request.isNetworkError || request.isHttpError) { Debug.Log(request.error); } else { photo.texture = ((DownloadHandlerTexture)request.downloadHandler).texture; } numberObject.GetComponent <Text>().text = number; websiteObject.GetComponent <Text>().text = website; Debug.Log("Finished Downloading Photo"); LoadingIndicator.SetActive(false); }
async Task LoadAccountsData() { var accounts = await Crypto.Instance.API.GetAccountsAsync(); var primaryCurrency = accounts.FirstOrDefault(a => a.Type == "fiat").Balance.Currency; var vmList = new List <AccountViewModel>(); foreach (var account in accounts) { var vm = new AccountViewModel { Id = account.Id, Currency = account.Balance.Currency, Amount = account.Balance.Ammount }; if (vm.Currency != primaryCurrency) //Ignore EUR / USD { var rate = await Crypto.Instance.API.GetCurrentMarketPriceAsync(vm.Currency, primaryCurrency); var converted = float.Parse(vm.Amount) * float.Parse(rate.Ammount); vm.Conversion = $"{converted.ToString("N2")} {primaryCurrency}"; vm.MarketValue = $"{rate.Ammount} {primaryCurrency}"; } else { vm.Conversion = $"{vm.Amount} {vm.Currency}"; vm.MarketValue = $"1.00 {vm.Currency}"; } vmList.Add(vm); } LoadingIndicator.StopAnimation(this); AccountsTable.DataSource = new AccountsTableDataSource(vmList.Count()); AccountsTable.Delegate = new AccountsTableDelegate(vmList.OrderByDescending(a => a.Amount).ToList()); }
void OnRefreshElapsed(object source, ElapsedEventArgs args) { if (FirstRun) { FirstRun = false; RefreshTimer.Interval = Crypto.Instance.Settings.RefreshRate * 1000; BeginInvokeOnMainThread(async() => { try { LoadingIndicator.StartAnimation(this); await LoadUserData(); await LoadAccountsData(); } catch (CoinbaseTokenException) { FirstRun = true; RefreshTimer.Stop(); ShowPreferences(); } }); } else { BeginInvokeOnMainThread(async() => { try { LoadingIndicator.StartAnimation(this); await LoadAccountsData(); Console.WriteLine("New Account Data at " + args.SignalTime.ToString()); } catch (CoinbaseTokenException) { RefreshTimer.Stop(); ShowPreferences(); } }); } }
public override async void ViewDidLoad() { base.ViewDidLoad(); LoadingIndicator.StartAnimating(); Title = "RSS Feeds"; DetailViewController = (DetailViewController)((UINavigationController)SplitViewController.ViewControllers[1]).TopViewController; await _feedViewModel.LoadFeeds(); FeedTable.Source = new FeedTableSource(ViewModel.Feeds, this); InvokeOnMainThread(() => { FeedTable.ReloadData(); }); HandleOffline(); LoadingIndicator.StopAnimating(); LoadingIndicator.Hidden = true; }
void ReleaseDesignerOutlets() { if (BtnLogin != null) { BtnLogin.Dispose(); BtnLogin = null; } if (LblPassword != null) { LblPassword.Dispose(); LblPassword = null; } if (LblUsername != null) { LblUsername.Dispose(); LblUsername = null; } if (LoadingIndicator != null) { LoadingIndicator.Dispose(); LoadingIndicator = null; } if (TxtPassword != null) { TxtPassword.Dispose(); TxtPassword = null; } if (TxtUsername != null) { TxtUsername.Dispose(); TxtUsername = null; } }
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Android.OS.Bundle savedInstanceState) { HasOptionsMenu = true; base.OnCreateView(inflater, container, savedInstanceState); var view = this.BindingInflate(Resource.Layout.fragment_mediadetail, null); _loadingIndicator = new LoadingIndicator(Activity); var set = this.CreateBindingSet<MediaDetailView, MediaDetailViewModel>(); set.Bind(_loadingIndicator).For(loadingIndicator => loadingIndicator.Visible).To(vm => vm.IsLoading); set.Apply(); ViewModel.PropertyChanged += MediaDetailView_PropertyChanged; var act = Activity as MvxActionBarActivity; if (act != null) { act.SupportActionBar.Title = ViewModel.Title; ViewModel.WaitForReady(() => Activity.RunOnUiThread(act.SupportInvalidateOptionsMenu)); } return view; }
public override void ViewDidLoad() { base.ViewDidLoad(); Title = "CryptoNotifier"; LoadingIndicator.StopAnimation(this); //8xQqUBVQJgOOSlbt //6NLygrlOIG6f1NjiTxpFsS1FwgtijMLs try { Crypto.Instance.API = new CoinbaseAPI(); Crypto.Instance.API.Provide(Crypto.Instance.Settings.API_Key, Crypto.Instance.Settings.API_Secret); if (Crypto.Instance.Settings.RefreshRate > 0) { RefreshTimer.Start(); } } catch (ArgumentNullException) { RefreshTimer.Stop(); ShowPreferences(); } }
/// <summary> /// Connect the user to the app /// </summary> private async void LoginButton_TouchUpInside(object sender, EventArgs e) { // start the loading animation LoadingIndicator.StartAnimating(); if (!EmailTextField.Text.IsEmail()) { // stop the loading animation LoadingIndicator.StopAnimating(); // set up the EmailTextField border in red EmailTextField.Layer.BorderColor = UIColor.FromRGBA(255, 76, 57, 255).CGColor; EmailTextField.Layer.BorderWidth = 1; EmailTextField.Layer.CornerRadius = 4; } else { await App.Locator.Login.Connect(DeviceInfoHelper.DeviceModel , DeviceInfoHelper.Platform , DeviceInfoHelper.Version , DeviceInfoHelper.GetDeviceUniqueId , DeviceInfoHelper.CountryCode); } }
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Android.OS.Bundle savedInstanceState) { HasOptionsMenu = true; base.OnCreateView(inflater, container, savedInstanceState); var view = this.BindingInflate(Resource.Layout.fragment_search, null); _loadingIndicator = new LoadingIndicator(Activity); var set = this.CreateBindingSet<SearchView, SearchViewModel>(); set.Bind(_loadingIndicator).For(pi => pi.Visible).To(vm => vm.IsLoading); _viewPager = view.FindViewById<ViewPager>(Resource.Id.searchViewPager); _viewPager.OffscreenPageLimit = 4; set.Bind(_viewPager).For(vp => vp.Visibility).To(vm => vm.LastQuery).WithConversion("Visibility"); set.Apply(); var fragments = new List<MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo> { new MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo { Title = "Alle", ViewModel = ViewModel, BindableProperty = "Results" }, new MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo { Title = "Bøker", ViewModel = ViewModel, BindableProperty = "BookResults" }, new MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo { Title = "Filmer", ViewModel = ViewModel, BindableProperty = "MovieResults" }, new MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo { Title = "Lydbøker", ViewModel = ViewModel, BindableProperty = "AudioBookResults" }, new MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo { Title = "CDer", ViewModel = ViewModel, BindableProperty = "CDResults" }, new MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo { Title = "Tidsskrift", ViewModel = ViewModel, BindableProperty = "MagazineResults" }, new MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo { Title = "Noter", ViewModel = ViewModel, BindableProperty = "SheetMusicResults" }, new MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo { Title = "Spill", ViewModel = ViewModel, BindableProperty = "GameResults" }, new MvxViewPagerSearchResultFragmentAdapter.SearchResultFragmentInfo { Title = "Annet", ViewModel = ViewModel, BindableProperty = "OtherResults" }, }; _adapter = new MvxViewPagerSearchResultFragmentAdapter(Activity, ChildFragmentManager, fragments); _viewPager.Adapter = _adapter; return view; }
private void WebViewLoadFinished(object sender, EventArgs e) { LoadingIndicator.StopAnimating(); }
// // // public LoadingIndicator() { mInstance = this; }