Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building out-of-the-ordinary UI's with Xamarin.Forms custom renderers

Building out-of-the-ordinary UI's with Xamarin.Forms custom renderers

Xamarin.Forms is a powerful framework that uses UI abstractions to enable 100% code reuse for UI code whilst still delivering 100% native user experiences. In general, for simple data driven apps, Xamarin.Forms is a good fit. But what if you need to build a UI that is a little less ordinary? Can you still do that with Xamarin.Forms? This session explains how you can use Custom Renderers to go beyond standard.

Roy Cornelissen

May 29, 2015
Tweet

More Decks by Roy Cornelissen

Other Decks in Programming

Transcript

  1. with IoC MyViewModel IMediaPicker WindowsMediaPicker: IMediaPicker AndroidMediaPicker: IMediaPicker iOSMediaPicker: IMediaPicker

    DependencyService.Get<IMediaPicker>(); [assembly: Dependency (typeof (WindowsMediaPicker))]
  2. using Device class Device.Styles Styles for controls, e.g. labels &

    lists Device.GetNamedSize Font sizes Device.Idiom Tablet or phone specific code / behavior Device.OS Target platform specific code Device.OnPlatform() Target platform specific values Device.OpenUri() Device.StartTimer() Device.BeginInvokeOnMainThread()
  3. Party time! We want an app for ~300 people They

    must be able to sign up for the party And post pictures to a gallery
  4. Your feedback is important! Scan the QR Code and let

    us know via the TechDays App. Laat ons weten wat u van de sessie vindt! Scan de QR Code via de TechDays App. Bent u al lid van de Microsoft Virtual Academy?! Op MVA kunt u altijd iets nieuws leren over de laatste technologie van Microsoft. Meld u vandaag aan op de MVA Stand. MVA biedt 7/24 gratis online training on-demand voor IT- Professionals en Ontwikkelaars.