Code Monkey home page Code Monkey logo

sample-2016-evolve's Introduction

An In-Depth Study of the MVVM Light Databinding System

My code samples for the Xamarin Evolve 2016 conference (Orlando FL)

Presentation details, Slides, Video

You can see the video recording and the slides here:

http://galasoft.ch/presentations/presentationdetails.cshtml?name=2016006

Abstract

Living in the dark ages and still wiring up properties manually between your user interface and data source? Databinding is a technique to automatically synchronize a user interface with it's data source and can vastly simplify how your app displays and interacts with data. While databinding is available out of the box for Xamarin.Forms and Windows applications, additional components are needed in Xamarin.Android and Xamarin.iOS. In this session, learn how to leverage databinding in your cross-platform applications as you master MVVM Light databinding and the MVVM pattern.

Content

XamBindingSample

Contains binding samples for iOS, Android and Windows

  • Simple binding VM -> UI element
  • Simple binding UI element -> UI element with default event handling
  • Simple binding UI element -> UI element with custom event handling
  • Twoway binding with default conversion
  • Twoway binding with custom conversion
  • Using WhenSourceChanges
  • Saving bindings
  • Using TargetNullValue and FallbackValue
  • Avoiding linker issues

Contains Commanding sample for iOS, Android, Windows

  • Simple command with default event handling
  • Command with custom event handling
  • Command with static parameter
  • Command with dynamic parameter (binding)
  • Avoiding linker issues

Contains List sample for Android and Windows

  • RecyclerView
  • Binding to ObservableCollection
  • Use the SelectedItem
  • Add and remove elements from collection
  • Binding between list cell UI element and data item
  • Changing UI element appearance on click

ObservableListApple

Contains List sample for iOS

  • RecyclerView
  • Binding to ObservableCollection
  • Use the SelectedItem
  • Add and remove elements from collection
  • Binding between list cell UI element and data item
  • Changing UI element appearance on click

sample-2016-evolve's People

Contributors

lbugnion avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.