Beginner question about Event vs Command, and best way to go with Picker.

WinterCloudWinterCloud GBMember ✭✭✭

As a beginner, I can see a lot of Events have been obsolete, and the suggestion I can find in general is, use Command, and it's Bindable.

So is this the trend to go?

I'm working on a Picker, simply to pick a number.

The example I can find on Xamarin website is using SelectedIndexChanged Event, at here https://developer.xamarin.com/api/type/Xamarin.Forms.Picker/

I thought this might be an old doc, so I tried to Bind a TapGestureRecognizer command to this picker... however, it's not firing at all.

What's the right way to go for Picker? Event only? Or other command I need to bind?

Thanks in advance.

Best Answers

Answers

Sign In or Register to comment.