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
Custom Bindings in MvvmCross
Search
Stuart Lodge
May 14, 2013
Technology
0
3.3k
Custom Bindings in MvvmCross
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
220
Data Bind Everything
cirrious
0
5k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
200
MobDevCon MvvmCross Workshop
cirrious
0
3.4k
Static Version of MvvmCross Evolve talk
cirrious
0
150
Jago?
cirrious
0
190
Presenters in MvvmCross
cirrious
1
32k
Saying SOLID with PCL
cirrious
0
3.5k
Using SQLite.Net In MvvmCross
cirrious
0
1.1k
Other Decks in Technology
See All in Technology
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.5k
Digitization部 紹介資料
sansan33
PRO
1
6.5k
形式手法特論:コンパイラの「正しさ」は証明できるか? #burikaigi / BuriKaigi 2026
ytaka23
16
5k
20251225_たのしい出張報告&IgniteRecap!
ponponmikankan
0
110
Introduction to Bill One Development Engineer
sansan33
PRO
0
340
「アウトプット脳からユーザー価値脳へ」がそんなに簡単にできたら苦労しない #RSGT2026
aki_iinuma
11
5k
スクラムを一度諦めたチームにアジャイルコーチが入ってどう変化したか / A Team's Second Try at Scrum with an Agile Coach
kaonavi
0
210
2025年 山梨の技術コミュニティを振り返る
yuukis
0
160
SES向け、生成AI時代におけるエンジニアリングとセキュリティ
longbowxxx
0
320
【Agentforce Hackathon Tokyo 2025 発表資料】みらいシフト:あなた働き方を、みらいへシフト。
kuratani
0
110
たかがボタン、されどボタン ~button要素から深ぼるボタンUIの定義について~ / BuriKaigi 2026
yamanoku
1
240
歴史から学ぶ、Goのメモリ管理基礎
logica0419
14
2.7k
Featured
See All Featured
Design in an AI World
tapps
0
120
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
Designing for Timeless Needs
cassininazir
0
110
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Discover your Explorer Soul
emna__ayadi
2
1k
Tell your own story through comics
letsgokoyo
1
780
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
The Pragmatic Product Professional
lauravandoore
37
7.1k
What's in a price? How to price your products and services
michaelherold
246
13k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Transcript
Custom Bindings
Data-Binding to ‘Controls’ MyControl MyValue MyValueChanged CreateBinding .For(view => view.MyValue)
.To(vm => vm.Name) As long as MyValueChanged is EventHandler, should just work!
Needs Custom 1 Non-standard EventHandler<T> MyControl MyValue MyValueChanged<T>
Needs Custom 2 Non-Standard Event Name MyControl Foo BarHappened
Custom PropertyBased Binding Create a PropertyInfoTargetBinding: Register it in Setup:
Needs Custom 3 No actual property MyControl GetFoo() SetFoo() BarHappened
Full Custom Binding Create a full custom TargetBinding: Register it
in Setup:
WARNING iOS UIKit Memory Management is Hard!
WARNING Watch out for event loops
Alternatives… You can always directly use: – FindViewById<T> or [Outlet]s
With: – ViewModel – ViewModel.PropertyChanged But: – The same warnings apply!
Sample Shown in only a couple of apps… https://github.com/slodge/MvvmCross- Tutorials/tree/master/CustomBinding
https://github.com/slodge/MvvmCross- Tutorials/tree/master/Sample%20-%20CirriousConference