How to Use Crosslight to Implement Platform-Specific Binding Library SDKs?

3 replies. Last post: September 23, 2015 3:27 AM by leo Chandra
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Jimmy TungolMember

Hi Guys,

How do we implement binding between a platform-specific library without breaking the rules of the MVVM pattern using the Crosslight framework? First off, we could design an interface that will be implemented using an IService, which can be used by the viewmodel. But that's how we ended up so far. As a note, the reason why we need an interface is because the app will be using different mobile printers from different manufacturers (e.g. Bixolon, Zebra, etc.). There are events or listeners from each binding library SDK that need to be implented in a view (e.g. viewcontroller, activity, page, etc.). So, the question is how do we implement such scenarios with the help of the Crosslight framework? How can we implement these events or listeners wherein we can bind each to a viewmodel like a CommandProperty does?

All times are GMT -5. The time now is 12:49 AM.
Previous Next