Create Custom Bindable Properties and Binding Adapter
Crosslight includes predefined common bindable properties that work across all platforms such as Text, ImageSource and so on. With extensible architecture built in Crosslight, you can extend or add your own custom bindable properties. This post will guide you how to create custom bindable properties and implement the binding adapter for each platform, including iOS and Android. Learn more.
We have prepared a sample, which shows how to create a bindable property for TextSize that supports two-way data binding to the Android EditText and iOS UITextField control. You can download the sample from our Git Server here.
Enjoy developing!
Cheers,
Martin Lie