private void SkipViewOnClick(object sender, EventArgs e) { try { StoriesProgress.Skip(); } catch (Exception exception) { Console.WriteLine(exception); } }
private void SkipViewOnClick(object sender, EventArgs e) { try { StoriesProgress.Skip(); } catch (Exception exception) { Methods.DisplayReportResultTrack(exception); } }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); Xamarin.Essentials.Platform.Init(this, savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.activity_main); this._stories = FindViewById <StoriesProgressView>(Resource.Id.stories); this._stories.SetStoriesCount(_resource.Length); this._stories.SetStoryDuration(5000L); this._stories.SetStoriesListener(this); this._image = FindViewById <ImageView>(Resource.Id.imageView); _image.Click += delegate { _stories.Skip(); }; _image.SetImageResource(_resource[_counter]); this._stories.StartStories(); }