In this video, take a look at the app that was created, and learn about the benefits of making the app in this manner (for example, the code is clear and understandable, you can use it in another app, and all code is extendible). Also, go over some quick
- [Instructor] Now we have our loading screen working now,…and I want to give it a little bit of flare.…So let's go ahead and create a behavior…to add some additional functionality to our loading screen.…I'm going to go to our behaviors directory,…and I'm going to add a new behavior.…I'm going to name this one view pulsating.…Going to base this off of our base attached behavior,…for the two types I'm going to set view pulsating and view.…
You're going to see we have an error here.…If I right click and go to quick fix,…I have to add the Xamarin.Forms namespace.…We're going to do that right now.…I'm going to remove our default constructor,…and I'm going to add the protected methods…that we need on attach to and on detaching from.…I'm also going to add a Boolean variable as attached,…this is going to let our behavior know whether…or not it's still attached to the view.…
On on attached, I'm going to add attached equals true,…and set attach equals false for on detaching from.…Now I'm going to create my method.…What this method's going to do is animate the view.…
- 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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.