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
1
290
Data-Binding
Stuart Lodge
May 14, 2013
Tweet
Share
More Decks by Stuart Lodge
See All by Stuart Lodge
Future Decoded - VisualStudio and Xamarin talk
cirrious
0
190
Data Bind Everything
cirrious
0
4.8k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
160
MobDevCon MvvmCross Workshop
cirrious
0
3.3k
Static Version of MvvmCross Evolve talk
cirrious
0
110
Jago?
cirrious
0
140
Presenters in MvvmCross
cirrious
1
32k
Saying SOLID with PCL
cirrious
0
3.4k
Using SQLite.Net In MvvmCross
cirrious
0
1.1k
Other Decks in Technology
See All in Technology
신뢰할 수 있는 AI 검색 엔진을 만들기 위한 Liner의 여정
huffon
0
380
最速最小からはじめるデータプロダクト / Data Product MVP
amaotone
5
750
MAMを軸とした動画ハンドリングにおけるAI活用前提の整備と次世代ビジョン / abema-ai-mam
cyberagentdevelopers
PRO
1
120
AIを駆使したゲーム開発戦略: 新設AI組織の取り組み / sge-ai-strategy
cyberagentdevelopers
PRO
1
130
新R25、乃木坂46 Mobileなどのファンビジネスを支えるマルチテナンシーなプラットフォームの全体像 / cam-multi-cloud
cyberagentdevelopers
PRO
1
130
急成長中のWINTICKETにおける品質と開発スピードと向き合ったQA戦略と今後の展望 / winticket-autify
cyberagentdevelopers
PRO
1
160
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
9
120k
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.6k
10分でわかるfreeeのQA
freee
1
3.4k
プロダクトエンジニアが活躍する環境を作りたくて 事業責任者になった話 ~プロダクトエンジニアの行き着く先~
gimupop
1
490
いまさらのStorybook
ikumatadokoro
0
150
Jr. Championsになって、強く連携しながらAWSをもっと使いたい!~AWSに対する期待と行動~
amixedcolor
0
190
Featured
See All Featured
Bash Introduction
62gerente
608
210k
Speed Design
sergeychernyshev
24
570
Ruby is Unlike a Banana
tanoku
96
11k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
The World Runs on Bad Software
bkeepers
PRO
65
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
231
17k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
GitHub's CSS Performance
jonrohan
1030
460k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.2k
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