[MAUI]模仿网易云音乐黑胶唱片的交互实现
创建页面布局创建手势控件创建影子控件唱盘拨动交互唱盘和唱针动画项目地址用过网易云音乐App的同学应该都比较熟悉它播放界面。这是一个良好的交互设计,留声机的界面隐喻准确地向人们传达产品概念和使用方法:当手指左右滑动时,便模拟了更换唱盘从而导向切换歌曲的交互功能。今天在 .NET MAUI中我们来实现这个交互效果,先来看看效果:使用.NET MAU实现跨平台支持,本项目可运行于Android、iOS平台。创建页面布局项目模拟了网易云音乐的播放主界面,可播放本地音乐文件。使用MatoMusic.Core作为播放内核,此项目对其将不再赘述。请阅读此博文[MAUI 项目实战] 音乐播放器...
Xamarin.Forms, .NET Maui and the Uno Platform
The .NET Maui team at Microsoft recently dropped Release Candidate 1, so I thought it worth taking a quick look at how it compares to both it’s predecessor, Xamarin.Forms, and the Uno Platform, which is arguably the market leader for building multi-platform application with .NET.
Xamarin.Essentials 1.7 and introducing .NET MAUI Essentials
Xamarin.Essentials has become a critical library for .NET developers building apps across iOS, Android, Tizen, macOS, and Windows since its original release over three years ago. Since then the library has been installed nearly 10 million times, has 79 contributors, has been stared 1,400 times on GitHub, and has been the foundation for developers around the globe to access native APIs. Today, I would like to share with you what is new in the latest version of Xamarin.Essentials 1.7, and talk about the future roadmap for the library as .NET Multi-platform App UI (MAUI) approaches this fall.
Prism Regions in Xamarin Forms
On Prism 8.0, the Prism Team released an amazing feature called Regions, which gives us a lot of flexibility in handling different views on a page. To understand it, let’s see the following use case...
Filtering and sorting with Dynamic Data in Xamarin Forms (Part 2)
In the first part of the series about Dynamic Data I covered how to start with it by adding, editing and deleting items. In this part we are going to see how easy is to filter and sort items.
How to create a custom pop-up in Xamarin with MvvmCross in the right way
Developers often create a [Dialog/Alert/Interaction]Service to display pop-ups in Xamarin cross-platform apps. This way is suitable and clean if we need to show an info message or ask the user simple questions with positive and negative answers. But what if we need some complicated UX like a login experience?
Learning to use Data Caching in Xamarin Forms
Howdy! Thanks for being here, hoping that you’re doing well! This time I just want to show you a very interesting and useful topic for our Xamarin Forms Applications: Data cachingImagine the following scenario: You have to confirm your latest transactions in your bank account! You will say som...
Animate A Mic Drop With Xamarin.Forms
In this post, we’ll be recreating the mic drop animation, but within a cross-platform application using Xamarin.Forms and the included animation methods. Additionally, all the work here was done within JetBrains Rider, a cross-platform IDE, and I highly recommend you check it out.
Functional ViewModels In Xamarin.Forms (Revision 2)
Following on from my More Functional ViewModels In Xamarin.Forms With C# I went further to refactor and see if I could develop a solution that was actually less lines of code to write, and overall, I did succeed.
XamarinCommunityToolkit: an introduction
Today I can proudly introduce to you the XamarinCommunityToolkit package! In this post you will read all about this package (also known as XamarinCommunityToolkit). What it does, my vision for it and how you can use it, today!
Show/Hide password using EventTrigger in Xamarin Forms
A common requirement in mobile applications is the ability to show/hide a password field. Googling I discovered that there are many ways to do it, some people create a custom control, others prefer to use a custom renderer, effects, etc. In this post, I want to show you a very simple way to achieve this by using EventTrigger.
DotNetMaui (Xamarin.Forms) is Not a XAML Platform
Yeh I know I’m going to get a ton of abuse about how this title is just click bait but before you start with the comments, hear me out. Firstly, the title is actually just missing a word DotNetMaui is Not JUST a XAML Platform In this post we’ll go through why DotNetMaui/Xamarin.Forms is/is not …
Create scrollable tabs in Xamarin.Forms with CollectionView and CarouselView
This post will show you how to create a scrollable tabs list that gets synchronized with items in a CarouselView in Xamarin.Forms.
Introducing C# Markup for Xamarin.Forms
This is a guest blog by Vincent Hoogendoorn. Vincent is a hands-on .NET architect, Xamarin veteran, CSharpForMarkup author, contributor of the C# Markup feature in Xamarin.Forms and co-founder of the Dutch Mobile .NET Developers meetup. Vincent works as Architect & Lead Mobile at Anywhere365.
TinyMvvm 2.4.1
Today, I released a new version of TinyMvvm, 2.4.1.The release contains this:Added ShellViewBase to optimize how ViewModels are created. Before the ViewModel was created during OnAppearing when using Shell navigation. It also ran Initialize during OnAppearing. But there are cases where you want it...
Disable bounce effect on CollectionView in your Xamarin.Forms iOS app
I noticed a StackOverflow question where the author was interested in disabling the bounce effect for CollectionView. They had a method for ListView, but was now looking on how to do it for CollectionView on iOS. I put together a small sample, let me tell you what I did.
Learn How to Fill Text with Images in Xamarin.Forms using Shapes
Filling text with images seems like an easy thing to do with tools like Photoshop, but can be a tedious task when developing it for mobile apps. I wanted to see if this was possible and got it working using the Experimental Xamarin.Forms Shapes. Read the steps below to learn how to fill text with images in Xamarin.Forms, or dive directly in the demo code on...
Create a Colorful Geometric Background using Xamarin.Forms Shapes
Xamarin recently added new functionality for developers to build mobile apps: Xamarin.Forms Shapes. As the name suggest, it allows developers to create shapes without being restricted to rectangles or ellipses. At this time, this power is only unleashed when setting the “Shapes_Experimental“-flag but it has some great potential. I wanted to build something using Shapes and went looking for some design inspiration. Luckily, an old friend of mine helped me out without knowing it!
Introduction To Dialogs In Xamarin.Forms
When developing mobile applications, dialogs are a foundational building block in our tool-belt. We can use dialogs to show a confirmation message, to indicate when the app is working or even display a rich input form that appears over our main user interface. As this article is intended for absolute beginners, we'll introduce the core concepts and terminology for using dialogs, get you started with the most current dialog frameworks and provide a quick reference on the main dialog types.
Try the Latest Xamarin.Forms 4.7 Features Today!
Today, the Xamarin.Forms team is releasing Xamarin.Forms 4.7 with a collection of feature additions and improvements. These new features will let you unleash your full creative abilities when developing Xamarin.Forms applications.