event click carouselview Xamarin

Asked

Viewed 46 times

0

I have 5 images and need to activate carouselview to open a page the moment the user clicks, but is not working

I tried to do that

MAinCarousel.ItemSelected += (sender, args) =>
        {
            this.Navigation.PushAsync(new MyPage(int.Parse(MAinCarousel.Position.ToString())));
            listView.SelectedItem = null;
        };

This way, it fires the moment I roll the carousel, I want the event when it clicks

  • Hello Jose, This is the Stackoverflow in Portuguese, could you translate your question? If you want to post also on Soen. Enjoy and make a tour to know the best way to elaborate a question.

  • Translated, sorry

  • Any errors appear in Visual Studio Output? Any Exception? Have you tried using the Itemtapped method?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.