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
210
Data Bind Everything
cirrious
0
4.9k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
190
MobDevCon MvvmCross Workshop
cirrious
0
3.4k
Static Version of MvvmCross Evolve talk
cirrious
0
140
Jago?
cirrious
0
180
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
Webアプリケーションにオブザーバビリティを実装するRust入門ガイド
nwiizo
7
860
AI開発ツールCreateがAnythingになったよ
tendasato
0
130
AIのグローバルトレンド2025 #scrummikawa / global ai trend
kyonmm
PRO
1
300
Django's GeneratedField by example - DjangoCon US 2025
pauloxnet
0
150
データ分析エージェント Socrates の育て方
na0
5
480
LLMを搭載したプロダクトの品質保証の模索と学び
qa
0
1.1k
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
450
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
230
新規プロダクトでプロトタイプから正式リリースまでNext.jsで開発したリアル
kawanoriku0
1
160
AIエージェント開発用SDKとローカルLLMをLINE Botと組み合わせてみた / LINEを使ったLT大会 #14
you
PRO
0
130
「どこから読む?」コードとカルチャーに最速で馴染むための実践ガイド
zozotech
PRO
0
540
株式会社ログラス - 会社説明資料【エンジニア】/ Loglass Engineer
loglass2019
4
65k
Featured
See All Featured
How to Ace a Technical Interview
jacobian
279
23k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
What's in a price? How to price your products and services
michaelherold
246
12k
Designing for humans not robots
tammielis
253
25k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
The Invisible Side of Design
smashingmag
301
51k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Six Lessons from altMBA
skipperchong
28
4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
850
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