Posts

Showing posts with the label component

[Xamarin Forms] Complete guide to design a TOAST component

Image
  [Xamarin Forms] Complete guide to design a TOAST component In this guide, we will first show you how to design a toast component in Xamarin Forms (adding transition animations to the component), then in a second part, we list some existing controls that you can use directly... Custom Toast design in Xamarin Forms  Designing a "toast" component in Xamarin Forms involves creating a custom control to display brief messages to the user.  I will show you bellow a simple example on how to create a Toast component, and we will also how to add transition animation. Here are the steps to design and implement a toast component: Step 1: Create the Toast View First, you need to create a custom view that represents the toast message. You can add all the UI controls that you need to fit your needs (like an icon image...) 1.1 Create a ToastView class Create a new class ToastView that inherits from ContentView . public class ToastView : ContentView { public ToastView ( strin...

Microsoft Band SDK available

Image
Today, I would like to remember you that the Microsoft Band SDK is now available for developers ! You can also find the associated Xamarin component for iOS & Android platforms. Here are the links: Xamarin Microsoft Band component for iOS & Android Microsoft Band SDK download page With this SDK you can access the following band sensors: Accelerometer : Provides X, Y, and Z acceleration in meters per second squared (m/s2) units. Gyroscope Provides X, Y, and Z angular velocity in degrees per second (°/sec) units. Distance : Provides the total distance in centimeters, current speed in centimeters per second (cm/s), current pace in milliseconds per meter (ms/m), and the current pedometer mode (such as walking or running). Heart Rate  Provides the number of beats per minute, also indicates if the heart rate sensor is fully locked onto the wearer’s heart rate. Pedometer  Provides the total number of steps the wearer has taken. Skin Temperature P...