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
200
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
150
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
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
170
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
12k
隣接領域をBeyondするFinatextのエンジニア組織設計 / beyond-engineering-areas
stajima
1
270
Platform Engineering for Software Developers and Architects
syntasso
1
510
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
190
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
12k
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
0
110
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
元旅行会社の情シス部員が教えるおすすめなre:Inventへの行き方 / What is the most efficient way to re:Invent
naospon
2
340
誰も全体を知らない ~ ロールの垣根を超えて引き上げる開発生産性 / Boosting Development Productivity Across Roles
kakehashi
1
220
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
210
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
300
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Optimising Largest Contentful Paint
csswizardry
33
2.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
For a Future-Friendly Web
brad_frost
175
9.4k
Building Adaptive Systems
keathley
38
2.3k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Ruby is Unlike a Banana
tanoku
97
11k
Music & Morning Musume
bryan
46
6.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
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