When you’re dealing with users in your app, it’s nice to use an avatar. But if the user didn’t set one how do you show those awesome looking initials? The AvatarView inside the Xamarin Community Toolkit helps you out with that. When there is an avatar, load that, and else show those initials, simple as that!
In this video we will learn what the AvatarView is and how to use it in your Xamarin.Forms app.
🔗 Links
Sample App Repo: https://github.com/jfversluis/XCTAvatarViewSample
AvatarView Docs: https://docs.microsoft.com/xamarin/community-toolkit/views/avatarview
Xamarin.CommunityToolkit Repo: https://aka.ms/xct
Xamarin.CommunityToolkit Docs: https://aka.ms/xct-docs
⏱ Timestamps
0:00 Intro
0:18 Install the Xamarin.CommunityToolkit NuGet Package
2:10 Implement AvatarView UI
2:50 Implement Initials View
5:55 Implement Loading an Avatar Image
8:03 Outro
#xct #xamarincommunitytoolkit #xamarinforms #avatarview