Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Data-Binding
Search
Stuart Lodge
May 14, 2013
Technology
320
1
Share
Data-Binding
Stuart Lodge
May 14, 2013
More Decks by Stuart Lodge
See All by Stuart Lodge
Future Decoded - VisualStudio and Xamarin talk
cirrious
0
230
Data Bind Everything
cirrious
0
5k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
210
MobDevCon MvvmCross Workshop
cirrious
0
3.4k
Static Version of MvvmCross Evolve talk
cirrious
0
160
Jago?
cirrious
0
200
Presenters in MvvmCross
cirrious
1
32k
Saying SOLID with PCL
cirrious
0
3.5k
Using SQLite.Net In MvvmCross
cirrious
0
1.2k
Other Decks in Technology
See All in Technology
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
17k
制約を設計する - 非決定性との境界線 / Designing constraints
soudai
PRO
5
1.4k
ハーネスエンジニアリング×AI適応開発
aictokamiya
3
1.4k
「できない」のアウトプット 同人誌『精神を壊してからの』シリーズ出版を 通して得られたこと
comi190327
3
570
AWSで2番目にリリースされたサービスについてお話しします(諸説あります)
yama3133
0
120
レガシーシステムをどう次世代に受け継ぐか
tachiiri
0
250
Datadog で実現するセキュリティ対策 ~オブザーバビリティとセキュリティを 一緒にやると何がいいのか~
a2ush
0
190
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
PRO
1
180
JSTQB Expert Levelシラバス「テストマネジメント」日本語版のご紹介
ymty
0
120
Cortex Codeでデータの仕事を全部Agenticにやりきろう!
gappy50
0
290
AIにより大幅に強化された AWS Transform Customを触ってみる
0air
0
310
Webアクセシビリティは“もしも”に備える設計
tomokusaba
0
160
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Crafting Experiences
bethany
1
110
Discover your Explorer Soul
emna__ayadi
2
1.1k
Become a Pro
speakerdeck
PRO
31
5.9k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
440
Writing Fast Ruby
sferik
630
63k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
240
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
170
Transcript
Data Binding
INotifyPropertyChanged
Typical ViewModel Property
One Way Binding PersonViewModel FirstName LastName DateOfBirth First Name Jon
Last Name Doe Date of birth 12/07/1989
UI Syntax
Two Way Binding PersonViewModel FirstName LastName DateOfBirth First Name Jon
Last Name Doe Date of birth 12/07/1989
UI Syntax
Value Conversion PersonViewModel FirstName LastName DateOfBirth First Name Jon Last
Name Doe Age 24 “Age” Conversion
IMvxValueConverter
AgeValueConverter
UI Syntax
UI Syntax
Binding Actions PersonViewModel FirstName LastName DateOfBirth First Name Jon Last
Name Doe Date of birth 12/07/1989 AddCommand
ICommand
Typical ViewModel Command
UI Syntax
Collections PeopleViewModel Hackers List<PersonViewModel> Greg Jon Daniel Cool Hackers Jon
@redth Greg @gshackles Daniel @dsplaisted Tomasz Tomasz @cheesebar
INotifyCollectionChanged
ObservableCollection
ViewModel Collection Property
UI Syntax
UI Syntax
UI Syntax
UI Syntax
Data-Binding to Sub-Objects • Works using normal . and []
chaining: • obeys INotifyPropertyChanged at every step
Samples DataBinding: https://github.com/slodge/MvvmCross-Tutorials/tree/master/TipCalc Collections: https://github.com/slodge/MvvmCross- Tutorials/tree/master/Working%20With%20Collections ValueConverters: https://github.com/slodge/MvvmCross- Tutorials/tree/master/ValueConversion