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
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
Phase12_総括_自走化
overflowinc
0
1.3k
Kiro Meetup #7 Kiro アップデート (2025/12/15〜2026/3/20)
katzueno
2
240
ReactのdangerouslySetInnerHTMLは“dangerously”だから危険 / Security.any #09 卒業したいセキュリティLT
flatt_security
0
480
SLI/SLO 導入で 避けるべきこと3選
yagikota
0
150
LINEヤフーにおけるAIOpsの現在地
lycorptech_jp
PRO
5
2.2k
データマネジメント戦略Night - 4社のリアルを語る会
ktatsuya
1
200
品質を経営にどう語るか #jassttokyo / Communicating the Strategic Value of Quality to Executive Leadership
kyonmm
PRO
3
1.2k
AlloyDB 奮闘記
hatappi
0
200
AI時代のオンプレ-クラウドキャリアチェンジ考
yuu0w0yuu
0
210
DMBOKを使ってレバレジーズのデータマネジメントを評価した
leveragestech
0
220
スケールアップ企業でQA組織が機能し続けるための組織設計と仕組み〜ボトムアップとトップダウンを両輪としたアプローチ〜
qa
0
190
Phase10_組織浸透_データ活用
overflowinc
0
1.4k
Featured
See All Featured
A better future with KSS
kneath
240
18k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
410
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
Music & Morning Musume
bryan
47
7.1k
The Limits of Empathy - UXLibs8
cassininazir
1
270
Six Lessons from altMBA
skipperchong
29
4.2k
So, you think you're a good person
axbom
PRO
2
2k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Documentation Writing (for coders)
carmenintech
77
5.3k
A Tale of Four Properties
chriscoyier
163
24k
Balancing Empowerment & Direction
lara
5
960
Discover your Explorer Soul
emna__ayadi
2
1.1k
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