Gone Mobile Podcast
Gone Mobile Podcast
Greg Shackles, Jonathan Dick
89: Bound for greater Bindings
53 minutes Posted Jan 12, 2024 at 3:30 pm.
Introduction
Understanding Bindings in a Mobile.NET, Maui World
Projections of Native APIs into the Managed.NET World
The Evolution of Bindings
The Challenge of Android X Libraries
Dealing with Bindings in Xamarin
The Complexity of Android Libraries
Creating Android Bindings
The Process of Android Binding
Challenges with Java and Kotlin Libraries
Handling Complex Inheritance in Java and Kotlin Libraries
The Sprawl of Android X Libraries
The Challenges of Binding Android X Libraries
The Simplicity of Binding Platform APIs
The Differences Between iOS and Android Bindings
Creating iOS Bindings
The Challenges of Objective-C and Swift Libraries
The Need for Slim Bindings
The Challenge of Dependency Chains
The Concept of Slim Bindings
The Advantages of Slim Bindings
Determining When to Bind the Whole Library
Debugging Slim Bindings
The Concept of Platform Channels
Performance Considerations of Platform Channels
The Future of Bindings
Integration with Xcode Project
Challenges with Tooling
Handling AndroidX Dependencies
Platform Channels in Maui
Plugin Recommendation: Xamarin Binding Helpers
0:00
53:37
Download MP3
Show notes
This conversation discusses the concept of bindings in a mobile.NET, Maui world. Bindings are used to integrate native libraries into the.NET ecosystem. The conversation covers the challenges and complexities of creating bindings for Android and iOS platforms. It explores the differences between Android X libraries and platform APIs. The concept of slim bindings is introduced, which involves creating a simplified interface for interacting with native libraries. The conversation also touches on the use of platform channels for message passing between.NET and native code. The future of bindings and the need for improved tools and processes are discussed. The conversation discusses the challenges and considerations when integrating platform channels in Xamarin projects. It explores the difficulties of referencing native frameworks and dependencies in Xcode projects and suggests the need for improved tooling to simplify the process. The conversation also delves into the complexities of handling AndroidX dependencies and the potential issues with duplicate libraries. Additionally, it highlights the concept of platform channels in Maui and the potential for creating a seamless integration experience. The recommended plugin for this episode is Xamarin Binding Helpers.
Plugins, Packages, and Products
This week we're talking about Xamarin.Binding.Helpers which helps make it easier to create slim bindings on Android, as well as Platform Channels which is an experiment for creating a message passing interface between native code and .NET MAUI apps.
People
Hosts: Jon Dick, Allan Ritchie
Audio Engineer: Jim Heath
Chapters
Links:Objective Sharpie
Xamarin.Binding.Helpers
Platform Channels