Xamarin Team Documents How to Bind Kotlin Libraries
Shortly when particularization new steerage to bind Swift libraries in Xamarin-based iOS mobile development, Microsoft has printed similar documentation for binding Kotlin libraries in golem comes. Each Kotlin and Swift square measure comparatively new programming languages that have taken their individual ecosystems by storm: Swift as a replacement for Objective-C in iOS development, and Kotlin as a replacement for Java in golem development. With their growing quality, the team liable for C#-based Xamarin is accommodating developers United Nations agency need to use libraries for either in Microsoft’s cross-platform mobile theme. The ability to employ elements engineered with Kotlin has become progressively necessary to Xamarin developers as their quality amongst developers continues to grow, same Alexey Strakh of Microsoft’s Mobile client consolatory Team during a March nine journal post. You’ll already be conversant in the method of binding regular Java libraries. Further documentation is currently obtainable describing the method of Binding a Kotlin Library, in order that they square measure expendable by a Xamarin application within the same manner. Strakh goes on to produce a high-level read of however, that works in four primary steps:
Building the native library
Preparing the Xamarin data that allow Xamarin tooling to get C# categories
Building a Xamarin Binding Library victimization the native library, and therefore, the data
Consuming the Xamarin Binding Library during a Xamarin application
Xamarin developers United Nations agency need to be told a lot of cognitive content low-level steps will consult the Xamarin Kotlin Binding Walkthrough documentation.
By: David Ramel