This video goes into how commands can be used in different situations.
- [Instructor] All right,…we've just created our first command for the done button…and it alerts us and does nothing.…We want to change that.…I'd like to add a behavior…that does exactly what it says.…When we click it it sets the TODO item…to done status.…Let's take a look at our TODO model…that we set in our item template.…It takes a integer, which is an ID…and it has a TODO boolean,…which let's you know whether or not…the TODO item is complete.…
This model is saved in our local data storage…using SQLite.…We're not going to dive too much into SQLite…and local data storage,…but if you'd like to know more about them…you could check our Mastering Xamarine forms…six data and storage strategies with Scott Peterson.…In order for us to perform this feature…we should take the smallest amount of data possible.…Let's take the identifier.…Let's go back to our TODO list page controller…and take a look at our command.…Right now it accepts no parameters…and we can't take an ID, let's change that.…
I'm going to go back to my toggle TODO item method…
- Creating and implementing behaviors
- Stacking behaviors
- Adding behaviors to styles
- Creating commands
- Setting up and implementing triggers
- Tying it all together in a Xamarin app
Skill Level Intermediate
F# and Xamarin Development Basicswith Rachel Blasucci56m 43s Intermediate
1. Using Xamarin Behaviors
2. Using Xamarin Commands
3. Using Xamarin Triggers
4. Tying It All Together
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.