コード例 #1
0
ファイル: VotePage.cs プロジェクト: xspired01/voting-app
        protected override void OnAppearing()
        {
            base.OnAppearing();

            ViewModel.GraphQLConnectionFailed += HandleGraphQLConnectionFailed;

            AppCenterService.TrackEvent(AppCenterConstants.VotePageAppeared);
        }
コード例 #2
0
ファイル: SettingsPage.cs プロジェクト: xspired01/voting-app
        protected override void OnAppearing()
        {
            base.OnAppearing();

            AppCenterService.TrackEvent(AppCenterConstants.VotePageAppeared);

            _graphqlApiEndpointEditor.Text = GraphQLSettings.Uri.ToString();
            _shouldUpdateChartAutomaticallySwitch.IsToggled = GraphQLSettings.ShouldUpdateChartAutomatically;
        }
コード例 #3
0
ファイル: App.cs プロジェクト: xspired01/voting-app
        protected override void OnStart()
        {
            base.OnStart();

            AppCenterService.Start();
        }
コード例 #4
0
ファイル: SettingsPage.cs プロジェクト: xspired01/voting-app
        async void CreatedByLabelTapped()
        {
            AppCenterService.TrackEvent(AppCenterConstants.CreatedByLabelTapped);

            await DependencyService.Get <IDeepLinks>().OpenTwitter().ConfigureAwait(false);
        }