[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dotnet-android-slim-bindings":3,"mdc-i6lyih-key":49,"related-repo-dotnet-android-slim-bindings":2911,"related-org-dotnet-android-slim-bindings":3010},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":28,"repoUrl":29,"updatedAt":30,"license":31,"forks":32,"topics":33,"repo":44,"sourceUrl":47,"mdContent":48},"android-slim-bindings","create Android slim bindings for .NET","Create Android slim bindings for MAUI\u002F.NET Android. USE FOR: slim Android binding, Kotlin\u002FJava wrappers, build.gradle.kts, Maven, AAR\u002FJAR, AndroidMavenLibrary, AndroidLibrary, @JvmStatic, XA4241\u002FXA4242, Xamarin.AndroidX\u002FKotlin NuGets. DO NOT USE FOR: iOS\u002FmacOS bindings, general MAUI apps, or NuGet packaging.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"dotnet",".NET (Microsoft)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdotnet.png",[12,16,19,22,25],{"name":13,"slug":14,"type":15},"Kotlin","kotlin","tag",{"name":17,"slug":18,"type":15},"Android","android",{"name":20,"slug":21,"type":15},"Java","java",{"name":23,"slug":24,"type":15},".NET","net",{"name":26,"slug":27,"type":15},"Mobile","mobile",190,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs","2026-07-12T08:22:54.006105",null,21,[34,18,35,8,36,37,38,39,40,27,41,42,43],"ai","desktop","ios","maccatalyst","maui","mcp","microsoft","multi-platform","user-interface","winui",{"repoUrl":29,"stars":28,"forks":32,"topics":45,"description":46},[34,18,35,8,36,37,38,39,40,27,41,42,43],"Experimental and pre-release tools for .NET MAUI","https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs\u002Ftree\u002FHEAD\u002Fplugins\u002Fdotnet-maui\u002Fskills\u002Fandroid-slim-bindings","---\nname: android-slim-bindings\ndescription: >-\n  Create Android slim bindings for MAUI\u002F.NET Android. USE FOR: slim Android binding, Kotlin\u002FJava wrappers, build.gradle.kts, Maven, AAR\u002FJAR, AndroidMavenLibrary, AndroidLibrary, @JvmStatic, XA4241\u002FXA4242, Xamarin.AndroidX\u002FKotlin NuGets. DO NOT USE FOR: iOS\u002FmacOS bindings, general MAUI apps, or NuGet packaging.\n---\n\n# When to use this skill\n\nActivate this skill when the user asks:\n- How do I create Android bindings for a native library?\n- How do I wrap an Android SDK for use in .NET MAUI?\n- How do I create slim bindings for Android?\n- How do I use Native Library Interop for Android?\n- How do I bind a Kotlin library to .NET?\n- How do I bind a Java library to .NET?\n- How do I integrate an AAR or JAR into .NET MAUI?\n- How do I create a Java\u002FKotlin wrapper for a native Android library?\n- How do I update Android bindings when the native SDK changes?\n- How do I fix Android binding build errors?\n- How do I expose native Android APIs to C#?\n- How do I resolve Maven dependencies for Android bindings?\n- How do I handle AndroidX dependencies in bindings?\n- How do I fix \"Java dependency is not satisfied\" errors?\n- How do I use AndroidMavenLibrary in my binding project?\n\n# Overview\n\nThis skill guides the creation of **Native Library Interop (Slim Bindings)** for Android. This modern approach creates a thin native Java\u002FKotlin wrapper exposing only the APIs you need from a native Android library, making bindings easier to create and maintain.\n\n## When to Use Slim Bindings vs Traditional Bindings\n\n| Scenario | Recommended Approach |\n|----------|---------------------|\n| Need only a subset of library functionality | **Slim Bindings** |\n| Easier maintenance when SDK updates | **Slim Bindings** |\n| Prefer working in Java\u002FKotlin for wrapper | **Slim Bindings** |\n| Better isolation from breaking changes | **Slim Bindings** |\n| Complex libraries with many dependencies | **Slim Bindings** |\n| Need entire library API surface | Traditional Bindings |\n| Creating bindings for third-party developers | Traditional Bindings |\n| Already maintaining traditional bindings | Traditional Bindings |\n\n# Inputs\n\n| Parameter | Required | Example | Notes |\n|-----------|----------|---------|-------|\n| libraryName | yes | `FirebaseMessaging`, `OkHttp` | Name of the native Android library to bind |\n| bindingProjectName | yes | `MyBinding.Android` | Name for the C# binding project |\n| dependencySource | no | `maven`, `aar`, `jar` | How the native library is distributed |\n| targetFrameworks | no | `net10.0-android` | Target frameworks (default: latest .NET Android) |\n| exposedApis | no | List of specific APIs | Which native APIs to expose (helps scope the wrapper) |\n| mavenCoordinates | no | `com.example:library:1.0.0` | Maven coordinates if library is from Maven repository |\n\n# Project Structure\n\n```\nMyBinding\u002F\n android\u002F\n native\u002F                              # Android Studio\u002FGradle project   \n app\u002F      \n src\u002Fmain\u002F         \n java\u002Fcom\u002Fexample\u002Fmybinding\u002F            \n DotnetMyBinding.java  # Java wrapper implementation                \n kotlin\u002Fcom\u002Fexample\u002Fmybinding\u002F            \n DotnetMyBinding.kt    # Or Kotlin wrapper                \n build.gradle.kts         \n settings.gradle.kts      \n build.gradle.kts      \n MyBinding.Android.Binding\u002F   \n MyBinding.Android.Binding.csproj       \n Transforms\u002F       \n Metadata.xml           \n sample\u002F\n MauiSample\u002F                          # Sample MAUI app   \n MauiSample.csproj       \n MainPage.xaml.cs       \n README.md\n```\n\n# Step-by-step Process\n\n> **For detailed code examples and full implementation walkthroughs, see [references\u002Fandroid-slim-bindings-implementation.md](references\u002Fandroid-slim-bindings-implementation.md).**\n\n## Step 1: Analyze Dependencies First\n\nBefore creating any bindings, analyze the complete dependency tree of your target library. This is the most critical step and where most binding projects fail.\n\n**Prerequisites:** JDK 17+, Android SDK with `ANDROID_HOME` set, .NET SDK 9+. You don't need Gradle installed globally; the Gradle Wrapper downloads the correct version automatically.\n\n## Step 2: Create the Android Library Project\n\nChoose one of these approaches:\n\n- **Option A: Android Studio** (recommended for GUI-based projects: create a \"No Activity\" project, then add an Android Library module)\n- **Option B: `gradle init` with Wrapper** (recommended for CLI-based projects: scaffold with Gradle using the Wrapper, then convert to an Android library)\n- **Option C: CommunityToolkit NativeLibraryInterop template** (clone and use the CommunityToolkit NativeLibraryInterop template as your starting point)\n- **Option D: Manual creation with Gradle Wrapper** (create the project structure manually using the Gradle Wrapper)\n\nAfter project creation, configure `settings.gradle.kts`, root `build.gradle.kts`, and `app\u002Fbuild.gradle.kts` with your library dependency.\n\n## Step 3: Analyze the Full Dependency Tree\n\n```bash\n.\u002Fgradlew app:dependencies --configuration releaseRuntimeClasspath\n```\n\n resolution strategy.\n\n**Understanding the output:** `->` = version conflict resolution, `(*)` = deduplication, `(c)` = constraint.\n\n## Step 4: Create the Wrapper Class\n\nCreate a Java or Kotlin wrapper in `app\u002Fsrc\u002Fmain\u002Fjava\u002F` (or `kotlin\u002F`) that exposes only the APIs you need. Key guidelines:\n\n- Use simple, marshallable types (String, boolean, int, byte[], Context, View)\n- Use callback interfaces for async operations (not Kotlin coroutines or lambdas)\n- Prefix class names with `Dotnet` for clarity\n- Add `@JvmStatic` on all Kotlin methods for static access from C#\n- Use `object` in Kotlin for singleton pattern\n\n## Step 5: Build the AAR\n\n```bash\n.\u002Fgradlew :app:assembleRelease\n# Output: app\u002Fbuild\u002Foutputs\u002Faar\u002Fapp-release.aar\n```\n\n## Step 6: Create the C# Binding Project\n\n```bash\ndotnet new androidbinding -n MyBinding.Android.Binding\n```\n\nKey `.csproj` elements:\n- `\u003CAndroidLibrary>` — reference the built AAR\n- `\u003CPackageReference>` — NuGet packages for transitive dependencies\n- `\u003CAndroidMavenLibrary Bind=\"false\">` — Maven deps without a NuGet equivalent\n- `\u003CAndroidIgnoredJavaDependency>` — compile-time only dependencies\n\nConfigure `Transforms\u002FMetadata.xml` for namespace renaming and parameter names.\n\n## Step 7: Resolve Dependencies\n\nBuild and resolve XA4241\u002FXA4242 errors using this decision tree:\n\n```\nFor each unsatisfied dependency:\n\n Is there a XA4242 suggestion?\n Install the suggested NuGet package\n\n Is the dependency needed from C#?\n Find\u002Fcreate a binding NuGet or create your own binding\n Use AndroidMavenLibrary with Bind=\"false\"\n\n Is it a compile-time only dependency (annotations, processors)?\n Use AndroidIgnoredJavaDependency\n\n Create a separate binding project or include AAR\u002FJAR directly\n```\n\n### Common Maven-to-NuGet Mappings\n\n| Maven Artifact | NuGet Package |\n|----------------|---------------|\n| `androidx.annotation:annotation` | `Xamarin.AndroidX.Annotation` |\n| `androidx.core:core` | `Xamarin.AndroidX.Core` |\n| `androidx.core:core-ktx` | `Xamarin.AndroidX.Core.Core.Ktx` |\n| `androidx.appcompat:appcompat` | `Xamarin.AndroidX.AppCompat` |\n| `androidx.fragment:fragment` | `Xamarin.AndroidX.Fragment` |\n| `androidx.activity:activity` | `Xamarin.AndroidX.Activity` |\n| `androidx.recyclerview:recyclerview` | `Xamarin.AndroidX.RecyclerView` |\n| `androidx.lifecycle:lifecycle-common` | `Xamarin.AndroidX.Lifecycle.Common` |\n| `org.jetbrains.kotlin:kotlin-stdlib` | `Xamarin.Kotlin.StdLib` |\n| `org.jetbrains.kotlinx:kotlinx-coroutines-core` | `Xamarin.KotlinX.Coroutines.Core` |\n| `com.google.android.material:material` | `Xamarin.Google.Android.Material` |\n| `com.squareup.okhttp3:okhttp` | `Square.OkHttp3` |\n| `com.google.code.gson:gson` | `GoogleGson` |\n\n### Finding NuGet Packages\n\n```bash\ndotnet package search \"artifact=androidx.core:core\" --source https:\u002F\u002Fapi.nuget.org\u002Fv3\u002Findex.json\n```\n\n## Step 8: Customize Bindings with Metadata\n\nEdit `Transforms\u002FMetadata.xml` to rename packages, classes, parameters, and remove internal types. Examine `obj\u002FDebug\u002Fnet10.0-android\u002Fapi.xml` after building to construct correct XPath expressions.\n\n## Step 9: Build and Verify\n\n```bash\ndotnet build -c Release\n```\n\n## Step 10: Use in Your MAUI App\n\nAdd a conditional `\u003CProjectReference>`, initialize in `MauiProgram.cs` using `ConfigureLifecycleEvents`, and implement callback interfaces by extending `Java.Lang.Object`.\n\n# Updating Bindings When Native SDK Changes\n\n1. Update native dependency version in `app\u002Fbuild.gradle.kts`\n2. Re-analyze dependencies with `.\u002Fgradlew app:dependencies`\n3. Update the Java\u002FKotlin wrapper if APIs changed\n4. Rebuild the AAR with `.\u002Fgradlew :app:assembleRelease`\n5. Update NuGet packages and Maven dependencies in binding `.csproj`\n6. Rebuild C# binding and fix any new XA4241\u002FXA4242 errors\n7. Update `Metadata.xml` for new classes\u002Fmethods\n8. Test with sample app\n\n> For detailed update instructions, see [references\u002Fandroid-slim-bindings-implementation.md](references\u002Fandroid-slim-bindings-implementation.md).\n\n# Troubleshooting\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| XA4241 \u002F XA4242 | Missing transitive dependency | Use NuGet, `AndroidMavenLibrary Bind=\"false\"`, or `AndroidIgnoredJavaDependency` |\n| \"Type is defined multiple times\" | Duplicate dependency | Check NuGet\u002FAAR overlap, use `Bind=\"false\"` |\n| \"Class does not implement interface member\" | Covariant return types | Add custom implementation in `Additions\u002F` folder |\n| \"Cannot find symbol\" | Missing Gradle dependency | Verify `build.gradle.kts` dependencies, rebuild AAR |\n| `NoClassDefFoundError` (runtime) | Dependency ignored incorrectly | Remove from `AndroidIgnoredJavaDependency`, satisfy properly |\n| `UnsatisfiedLinkError` (runtime) | Missing .so native library | Include via `\u003CAndroidNativeLibrary>`, check ABI compatibility |\n| Callback not invoked | Wrong thread \u002F GC'd reference | Use `MainThread.BeginInvokeOnMainThread()`, hold strong reference |\n\n> For detailed troubleshooting with code examples, see [references\u002Fandroid-slim-bindings-implementation.md](references\u002Fandroid-slim-bindings-implementation.md).\n\n# Quick Reference\n\n## Type Mapping\n\n| Java\u002FKotlin Type | C# Type | Notes |\n|------------------|---------|-------|\n| `String` | `string` | Direct mapping |\n| `boolean` \u002F `Boolean` | `bool` | Direct mapping |\n| `int` \u002F `Integer` | `int` | Direct mapping |\n| `long` \u002F `Long` | `long` | Direct mapping |\n| `double` \u002F `Double` | `double` | Direct mapping |\n| `float` \u002F `Float` | `float` | Direct mapping |\n| `byte[]` | `byte[]` | Direct mapping |\n| `Context` | `Android.Content.Context` | Pass from platform |\n| `View` | `Android.Views.View` | For view creation |\n| `JSONObject` | `Org.Json.JSONObject` | For complex data |\n| Callback interface | `IJavaObject` implementation | See callback pattern |\n\n## Things to Avoid in Wrapper API\n\n| Avoid | Use Instead |\n|-------|-------------|\n| Kotlin coroutines | Callback interfaces |\n| Kotlin lambdas | Java-style interfaces |\n| Kotlin data classes | Simple classes with getters |\n| Kotlin sealed classes | Enums or class hierarchy |\n| Generics (complex) | Specific types or Object |\n| Rx\u002FFlow observables | Callback interfaces |\n\n## MSBuild Items Reference\n\n| Item | Purpose |\n|------|---------|\n| `\u003CAndroidLibrary>` | Include AAR\u002FJAR in binding |\n| `\u003CAndroidMavenLibrary>` | Download and include from Maven |\n| `\u003CAndroidIgnoredJavaDependency>` | Ignore a dependency (compile-time only) |\n| `\u003CAndroidNativeLibrary>` | Include .so files |\n| `\u003CTransformFile>` | Metadata transform files |\n| `\u003CPackageReference>` | NuGet package reference |\n\n## Common Attributes\n\n| Attribute | Values | Purpose |\n|-----------|--------|---------|\n| `Bind` | `true`\u002F`false` | Whether to generate C# bindings |\n| `Pack` | `true`\u002F`false` | Whether to include in NuGet package |\n| `JavaArtifact` | `groupId:artifactId` | Declare what Maven artifact this satisfies |\n| `JavaVersion` | `version` | Version of the Maven artifact |\n| `Repository` | `Central`\u002F`Google`\u002FURL | Maven repository to download from |\n\n# Resources\n\n## Official Documentation\n- [Binding a Java Library (Microsoft Docs)](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fbinding-java-libs\u002Fbinding-java-library)\n- [Binding from Maven (Microsoft Docs)](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fbinding-java-libs\u002Fbinding-java-maven-library)\n- [Java Dependency Verification](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fadvanced-concepts\u002Fjava-dependency-verification)\n- [Resolving Java Dependencies](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fadvanced-concepts\u002Fresolving-java-dependencies)\n- [Java Bindings Metadata](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fcustomizing-bindings\u002Fjava-bindings-metadata)\n- [Native Library Interop - .NET Community Toolkit](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcommunitytoolkit\u002Fmaui\u002Fnative-library-interop)\n\n## Version Discovery\n- [Android Gradle Plugin Releases](https:\u002F\u002Fdeveloper.android.com\u002Fbuild\u002Freleases\u002Fgradle-plugin)\n- [Gradle Releases](https:\u002F\u002Fgradle.org\u002Freleases\u002F)\n- [Kotlin Releases](https:\u002F\u002Fkotlinlang.org\u002Fdocs\u002Freleases.html)\n\n## Templates and Examples\n- [Maui.NativeLibraryInterop Repository](https:\u002F\u002Fgithub.com\u002FCommunityToolkit\u002FMaui.NativeLibraryInterop)\n- [Xamarin.AndroidX Repository](https:\u002F\u002Fgithub.com\u002Fxamarin\u002FAndroidX)\n\n## Reference Files\n- [android-bindings-guide.md](references\u002Fandroid-bindings-guide.md) — comprehensive binding reference\n- [android-slim-bindings-implementation.md](references\u002Fandroid-slim-bindings-implementation.md) — detailed code examples, troubleshooting, and complete scripts\n- For iOS bindings, use the **ios-slim-bindings** skill\n\n# Output Format\n\nWhen assisting with Android slim bindings, provide:\n\n1. **Dependency analysis** - Full dependency tree and NuGet mapping strategy\n2. **Project structure** - File\u002Ffolder layout for the binding\n3. **Wrapper code** - Complete Java or Kotlin implementation\n4. **Gradle configuration** - build.gradle.kts with dependencies\n5. **C# binding project** - `.csproj` with proper dependency references\n6. **Metadata transforms** - Metadata.xml for namespace and parameter renaming\n7. **Usage examples** - How to call the binding from MAUI\u002FC#\n8. **Troubleshooting guidance** - Common issues and solutions for the specific library\n\nAlways verify:\n- All transitive dependencies are accounted for\n- NuGet packages match required Maven versions\n- Wrapper methods use simple, marshallable types\n- Callback interfaces are properly designed\n- Metadata.xml renames parameters to meaningful names\n",{"data":50,"body":51},{"name":4,"description":6},{"type":52,"children":53},"root",[54,63,69,149,155,168,175,316,322,531,537,549,555,575,581,586,604,610,615,666,695,701,738,743,777,783,804,861,867,896,902,936,949,996,1009,1015,1020,1029,1036,1331,1337,1387,1393,1413,1419,1448,1454,1490,1496,1570,1583,1589,1810,1823,1829,1835,2170,2176,2275,2281,2401,2407,2585,2591,2597,2661,2667,2700,2706,2729,2735,2771,2777,2782,2872,2877,2905],{"type":55,"tag":56,"props":57,"children":59},"element","h1",{"id":58},"when-to-use-this-skill",[60],{"type":61,"value":62},"text","When to use this skill",{"type":55,"tag":64,"props":65,"children":66},"p",{},[67],{"type":61,"value":68},"Activate this skill when the user asks:",{"type":55,"tag":70,"props":71,"children":72},"ul",{},[73,79,84,89,94,99,104,109,114,119,124,129,134,139,144],{"type":55,"tag":74,"props":75,"children":76},"li",{},[77],{"type":61,"value":78},"How do I create Android bindings for a native library?",{"type":55,"tag":74,"props":80,"children":81},{},[82],{"type":61,"value":83},"How do I wrap an Android SDK for use in .NET MAUI?",{"type":55,"tag":74,"props":85,"children":86},{},[87],{"type":61,"value":88},"How do I create slim bindings for Android?",{"type":55,"tag":74,"props":90,"children":91},{},[92],{"type":61,"value":93},"How do I use Native Library Interop for Android?",{"type":55,"tag":74,"props":95,"children":96},{},[97],{"type":61,"value":98},"How do I bind a Kotlin library to .NET?",{"type":55,"tag":74,"props":100,"children":101},{},[102],{"type":61,"value":103},"How do I bind a Java library to .NET?",{"type":55,"tag":74,"props":105,"children":106},{},[107],{"type":61,"value":108},"How do I integrate an AAR or JAR into .NET MAUI?",{"type":55,"tag":74,"props":110,"children":111},{},[112],{"type":61,"value":113},"How do I create a Java\u002FKotlin wrapper for a native Android library?",{"type":55,"tag":74,"props":115,"children":116},{},[117],{"type":61,"value":118},"How do I update Android bindings when the native SDK changes?",{"type":55,"tag":74,"props":120,"children":121},{},[122],{"type":61,"value":123},"How do I fix Android binding build errors?",{"type":55,"tag":74,"props":125,"children":126},{},[127],{"type":61,"value":128},"How do I expose native Android APIs to C#?",{"type":55,"tag":74,"props":130,"children":131},{},[132],{"type":61,"value":133},"How do I resolve Maven dependencies for Android bindings?",{"type":55,"tag":74,"props":135,"children":136},{},[137],{"type":61,"value":138},"How do I handle AndroidX dependencies in bindings?",{"type":55,"tag":74,"props":140,"children":141},{},[142],{"type":61,"value":143},"How do I fix \"Java dependency is not satisfied\" errors?",{"type":55,"tag":74,"props":145,"children":146},{},[147],{"type":61,"value":148},"How do I use AndroidMavenLibrary in my binding project?",{"type":55,"tag":56,"props":150,"children":152},{"id":151},"overview",[153],{"type":61,"value":154},"Overview",{"type":55,"tag":64,"props":156,"children":157},{},[158,160,166],{"type":61,"value":159},"This skill guides the creation of ",{"type":55,"tag":161,"props":162,"children":163},"strong",{},[164],{"type":61,"value":165},"Native Library Interop (Slim Bindings)",{"type":61,"value":167}," for Android. This modern approach creates a thin native Java\u002FKotlin wrapper exposing only the APIs you need from a native Android library, making bindings easier to create and maintain.",{"type":55,"tag":169,"props":170,"children":172},"h2",{"id":171},"when-to-use-slim-bindings-vs-traditional-bindings",[173],{"type":61,"value":174},"When to Use Slim Bindings vs Traditional Bindings",{"type":55,"tag":176,"props":177,"children":178},"table",{},[179,198],{"type":55,"tag":180,"props":181,"children":182},"thead",{},[183],{"type":55,"tag":184,"props":185,"children":186},"tr",{},[187,193],{"type":55,"tag":188,"props":189,"children":190},"th",{},[191],{"type":61,"value":192},"Scenario",{"type":55,"tag":188,"props":194,"children":195},{},[196],{"type":61,"value":197},"Recommended Approach",{"type":55,"tag":199,"props":200,"children":201},"tbody",{},[202,219,234,249,264,279,292,304],{"type":55,"tag":184,"props":203,"children":204},{},[205,211],{"type":55,"tag":206,"props":207,"children":208},"td",{},[209],{"type":61,"value":210},"Need only a subset of library functionality",{"type":55,"tag":206,"props":212,"children":213},{},[214],{"type":55,"tag":161,"props":215,"children":216},{},[217],{"type":61,"value":218},"Slim Bindings",{"type":55,"tag":184,"props":220,"children":221},{},[222,227],{"type":55,"tag":206,"props":223,"children":224},{},[225],{"type":61,"value":226},"Easier maintenance when SDK updates",{"type":55,"tag":206,"props":228,"children":229},{},[230],{"type":55,"tag":161,"props":231,"children":232},{},[233],{"type":61,"value":218},{"type":55,"tag":184,"props":235,"children":236},{},[237,242],{"type":55,"tag":206,"props":238,"children":239},{},[240],{"type":61,"value":241},"Prefer working in Java\u002FKotlin for wrapper",{"type":55,"tag":206,"props":243,"children":244},{},[245],{"type":55,"tag":161,"props":246,"children":247},{},[248],{"type":61,"value":218},{"type":55,"tag":184,"props":250,"children":251},{},[252,257],{"type":55,"tag":206,"props":253,"children":254},{},[255],{"type":61,"value":256},"Better isolation from breaking changes",{"type":55,"tag":206,"props":258,"children":259},{},[260],{"type":55,"tag":161,"props":261,"children":262},{},[263],{"type":61,"value":218},{"type":55,"tag":184,"props":265,"children":266},{},[267,272],{"type":55,"tag":206,"props":268,"children":269},{},[270],{"type":61,"value":271},"Complex libraries with many dependencies",{"type":55,"tag":206,"props":273,"children":274},{},[275],{"type":55,"tag":161,"props":276,"children":277},{},[278],{"type":61,"value":218},{"type":55,"tag":184,"props":280,"children":281},{},[282,287],{"type":55,"tag":206,"props":283,"children":284},{},[285],{"type":61,"value":286},"Need entire library API surface",{"type":55,"tag":206,"props":288,"children":289},{},[290],{"type":61,"value":291},"Traditional Bindings",{"type":55,"tag":184,"props":293,"children":294},{},[295,300],{"type":55,"tag":206,"props":296,"children":297},{},[298],{"type":61,"value":299},"Creating bindings for third-party developers",{"type":55,"tag":206,"props":301,"children":302},{},[303],{"type":61,"value":291},{"type":55,"tag":184,"props":305,"children":306},{},[307,312],{"type":55,"tag":206,"props":308,"children":309},{},[310],{"type":61,"value":311},"Already maintaining traditional bindings",{"type":55,"tag":206,"props":313,"children":314},{},[315],{"type":61,"value":291},{"type":55,"tag":56,"props":317,"children":319},{"id":318},"inputs",[320],{"type":61,"value":321},"Inputs",{"type":55,"tag":176,"props":323,"children":324},{},[325,351],{"type":55,"tag":180,"props":326,"children":327},{},[328],{"type":55,"tag":184,"props":329,"children":330},{},[331,336,341,346],{"type":55,"tag":188,"props":332,"children":333},{},[334],{"type":61,"value":335},"Parameter",{"type":55,"tag":188,"props":337,"children":338},{},[339],{"type":61,"value":340},"Required",{"type":55,"tag":188,"props":342,"children":343},{},[344],{"type":61,"value":345},"Example",{"type":55,"tag":188,"props":347,"children":348},{},[349],{"type":61,"value":350},"Notes",{"type":55,"tag":199,"props":352,"children":353},{},[354,390,416,457,483,505],{"type":55,"tag":184,"props":355,"children":356},{},[357,362,367,385],{"type":55,"tag":206,"props":358,"children":359},{},[360],{"type":61,"value":361},"libraryName",{"type":55,"tag":206,"props":363,"children":364},{},[365],{"type":61,"value":366},"yes",{"type":55,"tag":206,"props":368,"children":369},{},[370,377,379],{"type":55,"tag":371,"props":372,"children":374},"code",{"className":373},[],[375],{"type":61,"value":376},"FirebaseMessaging",{"type":61,"value":378},", ",{"type":55,"tag":371,"props":380,"children":382},{"className":381},[],[383],{"type":61,"value":384},"OkHttp",{"type":55,"tag":206,"props":386,"children":387},{},[388],{"type":61,"value":389},"Name of the native Android library to bind",{"type":55,"tag":184,"props":391,"children":392},{},[393,398,402,411],{"type":55,"tag":206,"props":394,"children":395},{},[396],{"type":61,"value":397},"bindingProjectName",{"type":55,"tag":206,"props":399,"children":400},{},[401],{"type":61,"value":366},{"type":55,"tag":206,"props":403,"children":404},{},[405],{"type":55,"tag":371,"props":406,"children":408},{"className":407},[],[409],{"type":61,"value":410},"MyBinding.Android",{"type":55,"tag":206,"props":412,"children":413},{},[414],{"type":61,"value":415},"Name for the C# binding project",{"type":55,"tag":184,"props":417,"children":418},{},[419,424,429,452],{"type":55,"tag":206,"props":420,"children":421},{},[422],{"type":61,"value":423},"dependencySource",{"type":55,"tag":206,"props":425,"children":426},{},[427],{"type":61,"value":428},"no",{"type":55,"tag":206,"props":430,"children":431},{},[432,438,439,445,446],{"type":55,"tag":371,"props":433,"children":435},{"className":434},[],[436],{"type":61,"value":437},"maven",{"type":61,"value":378},{"type":55,"tag":371,"props":440,"children":442},{"className":441},[],[443],{"type":61,"value":444},"aar",{"type":61,"value":378},{"type":55,"tag":371,"props":447,"children":449},{"className":448},[],[450],{"type":61,"value":451},"jar",{"type":55,"tag":206,"props":453,"children":454},{},[455],{"type":61,"value":456},"How the native library is distributed",{"type":55,"tag":184,"props":458,"children":459},{},[460,465,469,478],{"type":55,"tag":206,"props":461,"children":462},{},[463],{"type":61,"value":464},"targetFrameworks",{"type":55,"tag":206,"props":466,"children":467},{},[468],{"type":61,"value":428},{"type":55,"tag":206,"props":470,"children":471},{},[472],{"type":55,"tag":371,"props":473,"children":475},{"className":474},[],[476],{"type":61,"value":477},"net10.0-android",{"type":55,"tag":206,"props":479,"children":480},{},[481],{"type":61,"value":482},"Target frameworks (default: latest .NET Android)",{"type":55,"tag":184,"props":484,"children":485},{},[486,491,495,500],{"type":55,"tag":206,"props":487,"children":488},{},[489],{"type":61,"value":490},"exposedApis",{"type":55,"tag":206,"props":492,"children":493},{},[494],{"type":61,"value":428},{"type":55,"tag":206,"props":496,"children":497},{},[498],{"type":61,"value":499},"List of specific APIs",{"type":55,"tag":206,"props":501,"children":502},{},[503],{"type":61,"value":504},"Which native APIs to expose (helps scope the wrapper)",{"type":55,"tag":184,"props":506,"children":507},{},[508,513,517,526],{"type":55,"tag":206,"props":509,"children":510},{},[511],{"type":61,"value":512},"mavenCoordinates",{"type":55,"tag":206,"props":514,"children":515},{},[516],{"type":61,"value":428},{"type":55,"tag":206,"props":518,"children":519},{},[520],{"type":55,"tag":371,"props":521,"children":523},{"className":522},[],[524],{"type":61,"value":525},"com.example:library:1.0.0",{"type":55,"tag":206,"props":527,"children":528},{},[529],{"type":61,"value":530},"Maven coordinates if library is from Maven repository",{"type":55,"tag":56,"props":532,"children":534},{"id":533},"project-structure",[535],{"type":61,"value":536},"Project Structure",{"type":55,"tag":538,"props":539,"children":543},"pre",{"className":540,"code":542,"language":61},[541],"language-text","MyBinding\u002F\n android\u002F\n native\u002F                              # Android Studio\u002FGradle project   \n app\u002F      \n src\u002Fmain\u002F         \n java\u002Fcom\u002Fexample\u002Fmybinding\u002F            \n DotnetMyBinding.java  # Java wrapper implementation                \n kotlin\u002Fcom\u002Fexample\u002Fmybinding\u002F            \n DotnetMyBinding.kt    # Or Kotlin wrapper                \n build.gradle.kts         \n settings.gradle.kts      \n build.gradle.kts      \n MyBinding.Android.Binding\u002F   \n MyBinding.Android.Binding.csproj       \n Transforms\u002F       \n Metadata.xml           \n sample\u002F\n MauiSample\u002F                          # Sample MAUI app   \n MauiSample.csproj       \n MainPage.xaml.cs       \n README.md\n",[544],{"type":55,"tag":371,"props":545,"children":547},{"__ignoreMap":546},"",[548],{"type":61,"value":542},{"type":55,"tag":56,"props":550,"children":552},{"id":551},"step-by-step-process",[553],{"type":61,"value":554},"Step-by-step Process",{"type":55,"tag":556,"props":557,"children":558},"blockquote",{},[559],{"type":55,"tag":64,"props":560,"children":561},{},[562],{"type":55,"tag":161,"props":563,"children":564},{},[565,567,573],{"type":61,"value":566},"For detailed code examples and full implementation walkthroughs, see ",{"type":55,"tag":568,"props":569,"children":571},"a",{"href":570},"references\u002Fandroid-slim-bindings-implementation.md",[572],{"type":61,"value":570},{"type":61,"value":574},".",{"type":55,"tag":169,"props":576,"children":578},{"id":577},"step-1-analyze-dependencies-first",[579],{"type":61,"value":580},"Step 1: Analyze Dependencies First",{"type":55,"tag":64,"props":582,"children":583},{},[584],{"type":61,"value":585},"Before creating any bindings, analyze the complete dependency tree of your target library. This is the most critical step and where most binding projects fail.",{"type":55,"tag":64,"props":587,"children":588},{},[589,594,596,602],{"type":55,"tag":161,"props":590,"children":591},{},[592],{"type":61,"value":593},"Prerequisites:",{"type":61,"value":595}," JDK 17+, Android SDK with ",{"type":55,"tag":371,"props":597,"children":599},{"className":598},[],[600],{"type":61,"value":601},"ANDROID_HOME",{"type":61,"value":603}," set, .NET SDK 9+. You don't need Gradle installed globally; the Gradle Wrapper downloads the correct version automatically.",{"type":55,"tag":169,"props":605,"children":607},{"id":606},"step-2-create-the-android-library-project",[608],{"type":61,"value":609},"Step 2: Create the Android Library Project",{"type":55,"tag":64,"props":611,"children":612},{},[613],{"type":61,"value":614},"Choose one of these approaches:",{"type":55,"tag":70,"props":616,"children":617},{},[618,628,646,656],{"type":55,"tag":74,"props":619,"children":620},{},[621,626],{"type":55,"tag":161,"props":622,"children":623},{},[624],{"type":61,"value":625},"Option A: Android Studio",{"type":61,"value":627}," (recommended for GUI-based projects: create a \"No Activity\" project, then add an Android Library module)",{"type":55,"tag":74,"props":629,"children":630},{},[631,644],{"type":55,"tag":161,"props":632,"children":633},{},[634,636,642],{"type":61,"value":635},"Option B: ",{"type":55,"tag":371,"props":637,"children":639},{"className":638},[],[640],{"type":61,"value":641},"gradle init",{"type":61,"value":643}," with Wrapper",{"type":61,"value":645}," (recommended for CLI-based projects: scaffold with Gradle using the Wrapper, then convert to an Android library)",{"type":55,"tag":74,"props":647,"children":648},{},[649,654],{"type":55,"tag":161,"props":650,"children":651},{},[652],{"type":61,"value":653},"Option C: CommunityToolkit NativeLibraryInterop template",{"type":61,"value":655}," (clone and use the CommunityToolkit NativeLibraryInterop template as your starting point)",{"type":55,"tag":74,"props":657,"children":658},{},[659,664],{"type":55,"tag":161,"props":660,"children":661},{},[662],{"type":61,"value":663},"Option D: Manual creation with Gradle Wrapper",{"type":61,"value":665}," (create the project structure manually using the Gradle Wrapper)",{"type":55,"tag":64,"props":667,"children":668},{},[669,671,677,679,685,687,693],{"type":61,"value":670},"After project creation, configure ",{"type":55,"tag":371,"props":672,"children":674},{"className":673},[],[675],{"type":61,"value":676},"settings.gradle.kts",{"type":61,"value":678},", root ",{"type":55,"tag":371,"props":680,"children":682},{"className":681},[],[683],{"type":61,"value":684},"build.gradle.kts",{"type":61,"value":686},", and ",{"type":55,"tag":371,"props":688,"children":690},{"className":689},[],[691],{"type":61,"value":692},"app\u002Fbuild.gradle.kts",{"type":61,"value":694}," with your library dependency.",{"type":55,"tag":169,"props":696,"children":698},{"id":697},"step-3-analyze-the-full-dependency-tree",[699],{"type":61,"value":700},"Step 3: Analyze the Full Dependency Tree",{"type":55,"tag":538,"props":702,"children":706},{"className":703,"code":704,"language":705,"meta":546,"style":546},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",".\u002Fgradlew app:dependencies --configuration releaseRuntimeClasspath\n","bash",[707],{"type":55,"tag":371,"props":708,"children":709},{"__ignoreMap":546},[710],{"type":55,"tag":711,"props":712,"children":715},"span",{"class":713,"line":714},"line",1,[716,722,728,733],{"type":55,"tag":711,"props":717,"children":719},{"style":718},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[720],{"type":61,"value":721},".\u002Fgradlew",{"type":55,"tag":711,"props":723,"children":725},{"style":724},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[726],{"type":61,"value":727}," app:dependencies",{"type":55,"tag":711,"props":729,"children":730},{"style":724},[731],{"type":61,"value":732}," --configuration",{"type":55,"tag":711,"props":734,"children":735},{"style":724},[736],{"type":61,"value":737}," releaseRuntimeClasspath\n",{"type":55,"tag":64,"props":739,"children":740},{},[741],{"type":61,"value":742},"resolution strategy.",{"type":55,"tag":64,"props":744,"children":745},{},[746,751,753,759,761,767,769,775],{"type":55,"tag":161,"props":747,"children":748},{},[749],{"type":61,"value":750},"Understanding the output:",{"type":61,"value":752}," ",{"type":55,"tag":371,"props":754,"children":756},{"className":755},[],[757],{"type":61,"value":758},"->",{"type":61,"value":760}," = version conflict resolution, ",{"type":55,"tag":371,"props":762,"children":764},{"className":763},[],[765],{"type":61,"value":766},"(*)",{"type":61,"value":768}," = deduplication, ",{"type":55,"tag":371,"props":770,"children":772},{"className":771},[],[773],{"type":61,"value":774},"(c)",{"type":61,"value":776}," = constraint.",{"type":55,"tag":169,"props":778,"children":780},{"id":779},"step-4-create-the-wrapper-class",[781],{"type":61,"value":782},"Step 4: Create the Wrapper Class",{"type":55,"tag":64,"props":784,"children":785},{},[786,788,794,796,802],{"type":61,"value":787},"Create a Java or Kotlin wrapper in ",{"type":55,"tag":371,"props":789,"children":791},{"className":790},[],[792],{"type":61,"value":793},"app\u002Fsrc\u002Fmain\u002Fjava\u002F",{"type":61,"value":795}," (or ",{"type":55,"tag":371,"props":797,"children":799},{"className":798},[],[800],{"type":61,"value":801},"kotlin\u002F",{"type":61,"value":803},") that exposes only the APIs you need. Key guidelines:",{"type":55,"tag":70,"props":805,"children":806},{},[807,817,822,835,848],{"type":55,"tag":74,"props":808,"children":809},{},[810,812,815],{"type":61,"value":811},"Use simple, marshallable types (String, boolean, int, byte",{"type":55,"tag":711,"props":813,"children":814},{},[],{"type":61,"value":816},", Context, View)",{"type":55,"tag":74,"props":818,"children":819},{},[820],{"type":61,"value":821},"Use callback interfaces for async operations (not Kotlin coroutines or lambdas)",{"type":55,"tag":74,"props":823,"children":824},{},[825,827,833],{"type":61,"value":826},"Prefix class names with ",{"type":55,"tag":371,"props":828,"children":830},{"className":829},[],[831],{"type":61,"value":832},"Dotnet",{"type":61,"value":834}," for clarity",{"type":55,"tag":74,"props":836,"children":837},{},[838,840,846],{"type":61,"value":839},"Add ",{"type":55,"tag":371,"props":841,"children":843},{"className":842},[],[844],{"type":61,"value":845},"@JvmStatic",{"type":61,"value":847}," on all Kotlin methods for static access from C#",{"type":55,"tag":74,"props":849,"children":850},{},[851,853,859],{"type":61,"value":852},"Use ",{"type":55,"tag":371,"props":854,"children":856},{"className":855},[],[857],{"type":61,"value":858},"object",{"type":61,"value":860}," in Kotlin for singleton pattern",{"type":55,"tag":169,"props":862,"children":864},{"id":863},"step-5-build-the-aar",[865],{"type":61,"value":866},"Step 5: Build the AAR",{"type":55,"tag":538,"props":868,"children":870},{"className":703,"code":869,"language":705,"meta":546,"style":546},".\u002Fgradlew :app:assembleRelease\n# Output: app\u002Fbuild\u002Foutputs\u002Faar\u002Fapp-release.aar\n",[871],{"type":55,"tag":371,"props":872,"children":873},{"__ignoreMap":546},[874,886],{"type":55,"tag":711,"props":875,"children":876},{"class":713,"line":714},[877,881],{"type":55,"tag":711,"props":878,"children":879},{"style":718},[880],{"type":61,"value":721},{"type":55,"tag":711,"props":882,"children":883},{"style":724},[884],{"type":61,"value":885}," :app:assembleRelease\n",{"type":55,"tag":711,"props":887,"children":889},{"class":713,"line":888},2,[890],{"type":55,"tag":711,"props":891,"children":893},{"style":892},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[894],{"type":61,"value":895},"# Output: app\u002Fbuild\u002Foutputs\u002Faar\u002Fapp-release.aar\n",{"type":55,"tag":169,"props":897,"children":899},{"id":898},"step-6-create-the-c-binding-project",[900],{"type":61,"value":901},"Step 6: Create the C# Binding Project",{"type":55,"tag":538,"props":903,"children":905},{"className":703,"code":904,"language":705,"meta":546,"style":546},"dotnet new androidbinding -n MyBinding.Android.Binding\n",[906],{"type":55,"tag":371,"props":907,"children":908},{"__ignoreMap":546},[909],{"type":55,"tag":711,"props":910,"children":911},{"class":713,"line":714},[912,916,921,926,931],{"type":55,"tag":711,"props":913,"children":914},{"style":718},[915],{"type":61,"value":8},{"type":55,"tag":711,"props":917,"children":918},{"style":724},[919],{"type":61,"value":920}," new",{"type":55,"tag":711,"props":922,"children":923},{"style":724},[924],{"type":61,"value":925}," androidbinding",{"type":55,"tag":711,"props":927,"children":928},{"style":724},[929],{"type":61,"value":930}," -n",{"type":55,"tag":711,"props":932,"children":933},{"style":724},[934],{"type":61,"value":935}," MyBinding.Android.Binding\n",{"type":55,"tag":64,"props":937,"children":938},{},[939,941,947],{"type":61,"value":940},"Key ",{"type":55,"tag":371,"props":942,"children":944},{"className":943},[],[945],{"type":61,"value":946},".csproj",{"type":61,"value":948}," elements:",{"type":55,"tag":70,"props":950,"children":951},{},[952,963,974,985],{"type":55,"tag":74,"props":953,"children":954},{},[955,961],{"type":55,"tag":371,"props":956,"children":958},{"className":957},[],[959],{"type":61,"value":960},"\u003CAndroidLibrary>",{"type":61,"value":962}," — reference the built AAR",{"type":55,"tag":74,"props":964,"children":965},{},[966,972],{"type":55,"tag":371,"props":967,"children":969},{"className":968},[],[970],{"type":61,"value":971},"\u003CPackageReference>",{"type":61,"value":973}," — NuGet packages for transitive dependencies",{"type":55,"tag":74,"props":975,"children":976},{},[977,983],{"type":55,"tag":371,"props":978,"children":980},{"className":979},[],[981],{"type":61,"value":982},"\u003CAndroidMavenLibrary Bind=\"false\">",{"type":61,"value":984}," — Maven deps without a NuGet equivalent",{"type":55,"tag":74,"props":986,"children":987},{},[988,994],{"type":55,"tag":371,"props":989,"children":991},{"className":990},[],[992],{"type":61,"value":993},"\u003CAndroidIgnoredJavaDependency>",{"type":61,"value":995}," — compile-time only dependencies",{"type":55,"tag":64,"props":997,"children":998},{},[999,1001,1007],{"type":61,"value":1000},"Configure ",{"type":55,"tag":371,"props":1002,"children":1004},{"className":1003},[],[1005],{"type":61,"value":1006},"Transforms\u002FMetadata.xml",{"type":61,"value":1008}," for namespace renaming and parameter names.",{"type":55,"tag":169,"props":1010,"children":1012},{"id":1011},"step-7-resolve-dependencies",[1013],{"type":61,"value":1014},"Step 7: Resolve Dependencies",{"type":55,"tag":64,"props":1016,"children":1017},{},[1018],{"type":61,"value":1019},"Build and resolve XA4241\u002FXA4242 errors using this decision tree:",{"type":55,"tag":538,"props":1021,"children":1024},{"className":1022,"code":1023,"language":61},[541],"For each unsatisfied dependency:\n\n Is there a XA4242 suggestion?\n Install the suggested NuGet package\n\n Is the dependency needed from C#?\n Find\u002Fcreate a binding NuGet or create your own binding\n Use AndroidMavenLibrary with Bind=\"false\"\n\n Is it a compile-time only dependency (annotations, processors)?\n Use AndroidIgnoredJavaDependency\n\n Create a separate binding project or include AAR\u002FJAR directly\n",[1025],{"type":55,"tag":371,"props":1026,"children":1027},{"__ignoreMap":546},[1028],{"type":61,"value":1023},{"type":55,"tag":1030,"props":1031,"children":1033},"h3",{"id":1032},"common-maven-to-nuget-mappings",[1034],{"type":61,"value":1035},"Common Maven-to-NuGet Mappings",{"type":55,"tag":176,"props":1037,"children":1038},{},[1039,1055],{"type":55,"tag":180,"props":1040,"children":1041},{},[1042],{"type":55,"tag":184,"props":1043,"children":1044},{},[1045,1050],{"type":55,"tag":188,"props":1046,"children":1047},{},[1048],{"type":61,"value":1049},"Maven Artifact",{"type":55,"tag":188,"props":1051,"children":1052},{},[1053],{"type":61,"value":1054},"NuGet Package",{"type":55,"tag":199,"props":1056,"children":1057},{},[1058,1079,1100,1121,1142,1163,1184,1205,1226,1247,1268,1289,1310],{"type":55,"tag":184,"props":1059,"children":1060},{},[1061,1070],{"type":55,"tag":206,"props":1062,"children":1063},{},[1064],{"type":55,"tag":371,"props":1065,"children":1067},{"className":1066},[],[1068],{"type":61,"value":1069},"androidx.annotation:annotation",{"type":55,"tag":206,"props":1071,"children":1072},{},[1073],{"type":55,"tag":371,"props":1074,"children":1076},{"className":1075},[],[1077],{"type":61,"value":1078},"Xamarin.AndroidX.Annotation",{"type":55,"tag":184,"props":1080,"children":1081},{},[1082,1091],{"type":55,"tag":206,"props":1083,"children":1084},{},[1085],{"type":55,"tag":371,"props":1086,"children":1088},{"className":1087},[],[1089],{"type":61,"value":1090},"androidx.core:core",{"type":55,"tag":206,"props":1092,"children":1093},{},[1094],{"type":55,"tag":371,"props":1095,"children":1097},{"className":1096},[],[1098],{"type":61,"value":1099},"Xamarin.AndroidX.Core",{"type":55,"tag":184,"props":1101,"children":1102},{},[1103,1112],{"type":55,"tag":206,"props":1104,"children":1105},{},[1106],{"type":55,"tag":371,"props":1107,"children":1109},{"className":1108},[],[1110],{"type":61,"value":1111},"androidx.core:core-ktx",{"type":55,"tag":206,"props":1113,"children":1114},{},[1115],{"type":55,"tag":371,"props":1116,"children":1118},{"className":1117},[],[1119],{"type":61,"value":1120},"Xamarin.AndroidX.Core.Core.Ktx",{"type":55,"tag":184,"props":1122,"children":1123},{},[1124,1133],{"type":55,"tag":206,"props":1125,"children":1126},{},[1127],{"type":55,"tag":371,"props":1128,"children":1130},{"className":1129},[],[1131],{"type":61,"value":1132},"androidx.appcompat:appcompat",{"type":55,"tag":206,"props":1134,"children":1135},{},[1136],{"type":55,"tag":371,"props":1137,"children":1139},{"className":1138},[],[1140],{"type":61,"value":1141},"Xamarin.AndroidX.AppCompat",{"type":55,"tag":184,"props":1143,"children":1144},{},[1145,1154],{"type":55,"tag":206,"props":1146,"children":1147},{},[1148],{"type":55,"tag":371,"props":1149,"children":1151},{"className":1150},[],[1152],{"type":61,"value":1153},"androidx.fragment:fragment",{"type":55,"tag":206,"props":1155,"children":1156},{},[1157],{"type":55,"tag":371,"props":1158,"children":1160},{"className":1159},[],[1161],{"type":61,"value":1162},"Xamarin.AndroidX.Fragment",{"type":55,"tag":184,"props":1164,"children":1165},{},[1166,1175],{"type":55,"tag":206,"props":1167,"children":1168},{},[1169],{"type":55,"tag":371,"props":1170,"children":1172},{"className":1171},[],[1173],{"type":61,"value":1174},"androidx.activity:activity",{"type":55,"tag":206,"props":1176,"children":1177},{},[1178],{"type":55,"tag":371,"props":1179,"children":1181},{"className":1180},[],[1182],{"type":61,"value":1183},"Xamarin.AndroidX.Activity",{"type":55,"tag":184,"props":1185,"children":1186},{},[1187,1196],{"type":55,"tag":206,"props":1188,"children":1189},{},[1190],{"type":55,"tag":371,"props":1191,"children":1193},{"className":1192},[],[1194],{"type":61,"value":1195},"androidx.recyclerview:recyclerview",{"type":55,"tag":206,"props":1197,"children":1198},{},[1199],{"type":55,"tag":371,"props":1200,"children":1202},{"className":1201},[],[1203],{"type":61,"value":1204},"Xamarin.AndroidX.RecyclerView",{"type":55,"tag":184,"props":1206,"children":1207},{},[1208,1217],{"type":55,"tag":206,"props":1209,"children":1210},{},[1211],{"type":55,"tag":371,"props":1212,"children":1214},{"className":1213},[],[1215],{"type":61,"value":1216},"androidx.lifecycle:lifecycle-common",{"type":55,"tag":206,"props":1218,"children":1219},{},[1220],{"type":55,"tag":371,"props":1221,"children":1223},{"className":1222},[],[1224],{"type":61,"value":1225},"Xamarin.AndroidX.Lifecycle.Common",{"type":55,"tag":184,"props":1227,"children":1228},{},[1229,1238],{"type":55,"tag":206,"props":1230,"children":1231},{},[1232],{"type":55,"tag":371,"props":1233,"children":1235},{"className":1234},[],[1236],{"type":61,"value":1237},"org.jetbrains.kotlin:kotlin-stdlib",{"type":55,"tag":206,"props":1239,"children":1240},{},[1241],{"type":55,"tag":371,"props":1242,"children":1244},{"className":1243},[],[1245],{"type":61,"value":1246},"Xamarin.Kotlin.StdLib",{"type":55,"tag":184,"props":1248,"children":1249},{},[1250,1259],{"type":55,"tag":206,"props":1251,"children":1252},{},[1253],{"type":55,"tag":371,"props":1254,"children":1256},{"className":1255},[],[1257],{"type":61,"value":1258},"org.jetbrains.kotlinx:kotlinx-coroutines-core",{"type":55,"tag":206,"props":1260,"children":1261},{},[1262],{"type":55,"tag":371,"props":1263,"children":1265},{"className":1264},[],[1266],{"type":61,"value":1267},"Xamarin.KotlinX.Coroutines.Core",{"type":55,"tag":184,"props":1269,"children":1270},{},[1271,1280],{"type":55,"tag":206,"props":1272,"children":1273},{},[1274],{"type":55,"tag":371,"props":1275,"children":1277},{"className":1276},[],[1278],{"type":61,"value":1279},"com.google.android.material:material",{"type":55,"tag":206,"props":1281,"children":1282},{},[1283],{"type":55,"tag":371,"props":1284,"children":1286},{"className":1285},[],[1287],{"type":61,"value":1288},"Xamarin.Google.Android.Material",{"type":55,"tag":184,"props":1290,"children":1291},{},[1292,1301],{"type":55,"tag":206,"props":1293,"children":1294},{},[1295],{"type":55,"tag":371,"props":1296,"children":1298},{"className":1297},[],[1299],{"type":61,"value":1300},"com.squareup.okhttp3:okhttp",{"type":55,"tag":206,"props":1302,"children":1303},{},[1304],{"type":55,"tag":371,"props":1305,"children":1307},{"className":1306},[],[1308],{"type":61,"value":1309},"Square.OkHttp3",{"type":55,"tag":184,"props":1311,"children":1312},{},[1313,1322],{"type":55,"tag":206,"props":1314,"children":1315},{},[1316],{"type":55,"tag":371,"props":1317,"children":1319},{"className":1318},[],[1320],{"type":61,"value":1321},"com.google.code.gson:gson",{"type":55,"tag":206,"props":1323,"children":1324},{},[1325],{"type":55,"tag":371,"props":1326,"children":1328},{"className":1327},[],[1329],{"type":61,"value":1330},"GoogleGson",{"type":55,"tag":1030,"props":1332,"children":1334},{"id":1333},"finding-nuget-packages",[1335],{"type":61,"value":1336},"Finding NuGet Packages",{"type":55,"tag":538,"props":1338,"children":1340},{"className":703,"code":1339,"language":705,"meta":546,"style":546},"dotnet package search \"artifact=androidx.core:core\" --source https:\u002F\u002Fapi.nuget.org\u002Fv3\u002Findex.json\n",[1341],{"type":55,"tag":371,"props":1342,"children":1343},{"__ignoreMap":546},[1344],{"type":55,"tag":711,"props":1345,"children":1346},{"class":713,"line":714},[1347,1351,1356,1361,1367,1372,1377,1382],{"type":55,"tag":711,"props":1348,"children":1349},{"style":718},[1350],{"type":61,"value":8},{"type":55,"tag":711,"props":1352,"children":1353},{"style":724},[1354],{"type":61,"value":1355}," package",{"type":55,"tag":711,"props":1357,"children":1358},{"style":724},[1359],{"type":61,"value":1360}," search",{"type":55,"tag":711,"props":1362,"children":1364},{"style":1363},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1365],{"type":61,"value":1366}," \"",{"type":55,"tag":711,"props":1368,"children":1369},{"style":724},[1370],{"type":61,"value":1371},"artifact=androidx.core:core",{"type":55,"tag":711,"props":1373,"children":1374},{"style":1363},[1375],{"type":61,"value":1376},"\"",{"type":55,"tag":711,"props":1378,"children":1379},{"style":724},[1380],{"type":61,"value":1381}," --source",{"type":55,"tag":711,"props":1383,"children":1384},{"style":724},[1385],{"type":61,"value":1386}," https:\u002F\u002Fapi.nuget.org\u002Fv3\u002Findex.json\n",{"type":55,"tag":169,"props":1388,"children":1390},{"id":1389},"step-8-customize-bindings-with-metadata",[1391],{"type":61,"value":1392},"Step 8: Customize Bindings with Metadata",{"type":55,"tag":64,"props":1394,"children":1395},{},[1396,1398,1403,1405,1411],{"type":61,"value":1397},"Edit ",{"type":55,"tag":371,"props":1399,"children":1401},{"className":1400},[],[1402],{"type":61,"value":1006},{"type":61,"value":1404}," to rename packages, classes, parameters, and remove internal types. Examine ",{"type":55,"tag":371,"props":1406,"children":1408},{"className":1407},[],[1409],{"type":61,"value":1410},"obj\u002FDebug\u002Fnet10.0-android\u002Fapi.xml",{"type":61,"value":1412}," after building to construct correct XPath expressions.",{"type":55,"tag":169,"props":1414,"children":1416},{"id":1415},"step-9-build-and-verify",[1417],{"type":61,"value":1418},"Step 9: Build and Verify",{"type":55,"tag":538,"props":1420,"children":1422},{"className":703,"code":1421,"language":705,"meta":546,"style":546},"dotnet build -c Release\n",[1423],{"type":55,"tag":371,"props":1424,"children":1425},{"__ignoreMap":546},[1426],{"type":55,"tag":711,"props":1427,"children":1428},{"class":713,"line":714},[1429,1433,1438,1443],{"type":55,"tag":711,"props":1430,"children":1431},{"style":718},[1432],{"type":61,"value":8},{"type":55,"tag":711,"props":1434,"children":1435},{"style":724},[1436],{"type":61,"value":1437}," build",{"type":55,"tag":711,"props":1439,"children":1440},{"style":724},[1441],{"type":61,"value":1442}," -c",{"type":55,"tag":711,"props":1444,"children":1445},{"style":724},[1446],{"type":61,"value":1447}," Release\n",{"type":55,"tag":169,"props":1449,"children":1451},{"id":1450},"step-10-use-in-your-maui-app",[1452],{"type":61,"value":1453},"Step 10: Use in Your MAUI App",{"type":55,"tag":64,"props":1455,"children":1456},{},[1457,1459,1465,1467,1473,1475,1481,1483,1489],{"type":61,"value":1458},"Add a conditional ",{"type":55,"tag":371,"props":1460,"children":1462},{"className":1461},[],[1463],{"type":61,"value":1464},"\u003CProjectReference>",{"type":61,"value":1466},", initialize in ",{"type":55,"tag":371,"props":1468,"children":1470},{"className":1469},[],[1471],{"type":61,"value":1472},"MauiProgram.cs",{"type":61,"value":1474}," using ",{"type":55,"tag":371,"props":1476,"children":1478},{"className":1477},[],[1479],{"type":61,"value":1480},"ConfigureLifecycleEvents",{"type":61,"value":1482},", and implement callback interfaces by extending ",{"type":55,"tag":371,"props":1484,"children":1486},{"className":1485},[],[1487],{"type":61,"value":1488},"Java.Lang.Object",{"type":61,"value":574},{"type":55,"tag":56,"props":1491,"children":1493},{"id":1492},"updating-bindings-when-native-sdk-changes",[1494],{"type":61,"value":1495},"Updating Bindings When Native SDK Changes",{"type":55,"tag":1497,"props":1498,"children":1499},"ol",{},[1500,1510,1521,1526,1537,1547,1552,1565],{"type":55,"tag":74,"props":1501,"children":1502},{},[1503,1505],{"type":61,"value":1504},"Update native dependency version in ",{"type":55,"tag":371,"props":1506,"children":1508},{"className":1507},[],[1509],{"type":61,"value":692},{"type":55,"tag":74,"props":1511,"children":1512},{},[1513,1515],{"type":61,"value":1514},"Re-analyze dependencies with ",{"type":55,"tag":371,"props":1516,"children":1518},{"className":1517},[],[1519],{"type":61,"value":1520},".\u002Fgradlew app:dependencies",{"type":55,"tag":74,"props":1522,"children":1523},{},[1524],{"type":61,"value":1525},"Update the Java\u002FKotlin wrapper if APIs changed",{"type":55,"tag":74,"props":1527,"children":1528},{},[1529,1531],{"type":61,"value":1530},"Rebuild the AAR with ",{"type":55,"tag":371,"props":1532,"children":1534},{"className":1533},[],[1535],{"type":61,"value":1536},".\u002Fgradlew :app:assembleRelease",{"type":55,"tag":74,"props":1538,"children":1539},{},[1540,1542],{"type":61,"value":1541},"Update NuGet packages and Maven dependencies in binding ",{"type":55,"tag":371,"props":1543,"children":1545},{"className":1544},[],[1546],{"type":61,"value":946},{"type":55,"tag":74,"props":1548,"children":1549},{},[1550],{"type":61,"value":1551},"Rebuild C# binding and fix any new XA4241\u002FXA4242 errors",{"type":55,"tag":74,"props":1553,"children":1554},{},[1555,1557,1563],{"type":61,"value":1556},"Update ",{"type":55,"tag":371,"props":1558,"children":1560},{"className":1559},[],[1561],{"type":61,"value":1562},"Metadata.xml",{"type":61,"value":1564}," for new classes\u002Fmethods",{"type":55,"tag":74,"props":1566,"children":1567},{},[1568],{"type":61,"value":1569},"Test with sample app",{"type":55,"tag":556,"props":1571,"children":1572},{},[1573],{"type":55,"tag":64,"props":1574,"children":1575},{},[1576,1578,1582],{"type":61,"value":1577},"For detailed update instructions, see ",{"type":55,"tag":568,"props":1579,"children":1580},{"href":570},[1581],{"type":61,"value":570},{"type":61,"value":574},{"type":55,"tag":56,"props":1584,"children":1586},{"id":1585},"troubleshooting",[1587],{"type":61,"value":1588},"Troubleshooting",{"type":55,"tag":176,"props":1590,"children":1591},{},[1592,1613],{"type":55,"tag":180,"props":1593,"children":1594},{},[1595],{"type":55,"tag":184,"props":1596,"children":1597},{},[1598,1603,1608],{"type":55,"tag":188,"props":1599,"children":1600},{},[1601],{"type":61,"value":1602},"Error",{"type":55,"tag":188,"props":1604,"children":1605},{},[1606],{"type":61,"value":1607},"Cause",{"type":55,"tag":188,"props":1609,"children":1610},{},[1611],{"type":61,"value":1612},"Solution",{"type":55,"tag":199,"props":1614,"children":1615},{},[1616,1648,1672,1698,1723,1754,1785],{"type":55,"tag":184,"props":1617,"children":1618},{},[1619,1624,1629],{"type":55,"tag":206,"props":1620,"children":1621},{},[1622],{"type":61,"value":1623},"XA4241 \u002F XA4242",{"type":55,"tag":206,"props":1625,"children":1626},{},[1627],{"type":61,"value":1628},"Missing transitive dependency",{"type":55,"tag":206,"props":1630,"children":1631},{},[1632,1634,1640,1642],{"type":61,"value":1633},"Use NuGet, ",{"type":55,"tag":371,"props":1635,"children":1637},{"className":1636},[],[1638],{"type":61,"value":1639},"AndroidMavenLibrary Bind=\"false\"",{"type":61,"value":1641},", or ",{"type":55,"tag":371,"props":1643,"children":1645},{"className":1644},[],[1646],{"type":61,"value":1647},"AndroidIgnoredJavaDependency",{"type":55,"tag":184,"props":1649,"children":1650},{},[1651,1656,1661],{"type":55,"tag":206,"props":1652,"children":1653},{},[1654],{"type":61,"value":1655},"\"Type is defined multiple times\"",{"type":55,"tag":206,"props":1657,"children":1658},{},[1659],{"type":61,"value":1660},"Duplicate dependency",{"type":55,"tag":206,"props":1662,"children":1663},{},[1664,1666],{"type":61,"value":1665},"Check NuGet\u002FAAR overlap, use ",{"type":55,"tag":371,"props":1667,"children":1669},{"className":1668},[],[1670],{"type":61,"value":1671},"Bind=\"false\"",{"type":55,"tag":184,"props":1673,"children":1674},{},[1675,1680,1685],{"type":55,"tag":206,"props":1676,"children":1677},{},[1678],{"type":61,"value":1679},"\"Class does not implement interface member\"",{"type":55,"tag":206,"props":1681,"children":1682},{},[1683],{"type":61,"value":1684},"Covariant return types",{"type":55,"tag":206,"props":1686,"children":1687},{},[1688,1690,1696],{"type":61,"value":1689},"Add custom implementation in ",{"type":55,"tag":371,"props":1691,"children":1693},{"className":1692},[],[1694],{"type":61,"value":1695},"Additions\u002F",{"type":61,"value":1697}," folder",{"type":55,"tag":184,"props":1699,"children":1700},{},[1701,1706,1711],{"type":55,"tag":206,"props":1702,"children":1703},{},[1704],{"type":61,"value":1705},"\"Cannot find symbol\"",{"type":55,"tag":206,"props":1707,"children":1708},{},[1709],{"type":61,"value":1710},"Missing Gradle dependency",{"type":55,"tag":206,"props":1712,"children":1713},{},[1714,1716,1721],{"type":61,"value":1715},"Verify ",{"type":55,"tag":371,"props":1717,"children":1719},{"className":1718},[],[1720],{"type":61,"value":684},{"type":61,"value":1722}," dependencies, rebuild AAR",{"type":55,"tag":184,"props":1724,"children":1725},{},[1726,1737,1742],{"type":55,"tag":206,"props":1727,"children":1728},{},[1729,1735],{"type":55,"tag":371,"props":1730,"children":1732},{"className":1731},[],[1733],{"type":61,"value":1734},"NoClassDefFoundError",{"type":61,"value":1736}," (runtime)",{"type":55,"tag":206,"props":1738,"children":1739},{},[1740],{"type":61,"value":1741},"Dependency ignored incorrectly",{"type":55,"tag":206,"props":1743,"children":1744},{},[1745,1747,1752],{"type":61,"value":1746},"Remove from ",{"type":55,"tag":371,"props":1748,"children":1750},{"className":1749},[],[1751],{"type":61,"value":1647},{"type":61,"value":1753},", satisfy properly",{"type":55,"tag":184,"props":1755,"children":1756},{},[1757,1767,1772],{"type":55,"tag":206,"props":1758,"children":1759},{},[1760,1766],{"type":55,"tag":371,"props":1761,"children":1763},{"className":1762},[],[1764],{"type":61,"value":1765},"UnsatisfiedLinkError",{"type":61,"value":1736},{"type":55,"tag":206,"props":1768,"children":1769},{},[1770],{"type":61,"value":1771},"Missing .so native library",{"type":55,"tag":206,"props":1773,"children":1774},{},[1775,1777,1783],{"type":61,"value":1776},"Include via ",{"type":55,"tag":371,"props":1778,"children":1780},{"className":1779},[],[1781],{"type":61,"value":1782},"\u003CAndroidNativeLibrary>",{"type":61,"value":1784},", check ABI compatibility",{"type":55,"tag":184,"props":1786,"children":1787},{},[1788,1793,1798],{"type":55,"tag":206,"props":1789,"children":1790},{},[1791],{"type":61,"value":1792},"Callback not invoked",{"type":55,"tag":206,"props":1794,"children":1795},{},[1796],{"type":61,"value":1797},"Wrong thread \u002F GC'd reference",{"type":55,"tag":206,"props":1799,"children":1800},{},[1801,1802,1808],{"type":61,"value":852},{"type":55,"tag":371,"props":1803,"children":1805},{"className":1804},[],[1806],{"type":61,"value":1807},"MainThread.BeginInvokeOnMainThread()",{"type":61,"value":1809},", hold strong reference",{"type":55,"tag":556,"props":1811,"children":1812},{},[1813],{"type":55,"tag":64,"props":1814,"children":1815},{},[1816,1818,1822],{"type":61,"value":1817},"For detailed troubleshooting with code examples, see ",{"type":55,"tag":568,"props":1819,"children":1820},{"href":570},[1821],{"type":61,"value":570},{"type":61,"value":574},{"type":55,"tag":56,"props":1824,"children":1826},{"id":1825},"quick-reference",[1827],{"type":61,"value":1828},"Quick Reference",{"type":55,"tag":169,"props":1830,"children":1832},{"id":1831},"type-mapping",[1833],{"type":61,"value":1834},"Type Mapping",{"type":55,"tag":176,"props":1836,"children":1837},{},[1838,1858],{"type":55,"tag":180,"props":1839,"children":1840},{},[1841],{"type":55,"tag":184,"props":1842,"children":1843},{},[1844,1849,1854],{"type":55,"tag":188,"props":1845,"children":1846},{},[1847],{"type":61,"value":1848},"Java\u002FKotlin Type",{"type":55,"tag":188,"props":1850,"children":1851},{},[1852],{"type":61,"value":1853},"C# Type",{"type":55,"tag":188,"props":1855,"children":1856},{},[1857],{"type":61,"value":350},{"type":55,"tag":199,"props":1859,"children":1860},{},[1861,1887,1920,1951,1982,2013,2044,2068,2094,2120,2146],{"type":55,"tag":184,"props":1862,"children":1863},{},[1864,1873,1882],{"type":55,"tag":206,"props":1865,"children":1866},{},[1867],{"type":55,"tag":371,"props":1868,"children":1870},{"className":1869},[],[1871],{"type":61,"value":1872},"String",{"type":55,"tag":206,"props":1874,"children":1875},{},[1876],{"type":55,"tag":371,"props":1877,"children":1879},{"className":1878},[],[1880],{"type":61,"value":1881},"string",{"type":55,"tag":206,"props":1883,"children":1884},{},[1885],{"type":61,"value":1886},"Direct mapping",{"type":55,"tag":184,"props":1888,"children":1889},{},[1890,1907,1916],{"type":55,"tag":206,"props":1891,"children":1892},{},[1893,1899,1901],{"type":55,"tag":371,"props":1894,"children":1896},{"className":1895},[],[1897],{"type":61,"value":1898},"boolean",{"type":61,"value":1900}," \u002F ",{"type":55,"tag":371,"props":1902,"children":1904},{"className":1903},[],[1905],{"type":61,"value":1906},"Boolean",{"type":55,"tag":206,"props":1908,"children":1909},{},[1910],{"type":55,"tag":371,"props":1911,"children":1913},{"className":1912},[],[1914],{"type":61,"value":1915},"bool",{"type":55,"tag":206,"props":1917,"children":1918},{},[1919],{"type":61,"value":1886},{"type":55,"tag":184,"props":1921,"children":1922},{},[1923,1939,1947],{"type":55,"tag":206,"props":1924,"children":1925},{},[1926,1932,1933],{"type":55,"tag":371,"props":1927,"children":1929},{"className":1928},[],[1930],{"type":61,"value":1931},"int",{"type":61,"value":1900},{"type":55,"tag":371,"props":1934,"children":1936},{"className":1935},[],[1937],{"type":61,"value":1938},"Integer",{"type":55,"tag":206,"props":1940,"children":1941},{},[1942],{"type":55,"tag":371,"props":1943,"children":1945},{"className":1944},[],[1946],{"type":61,"value":1931},{"type":55,"tag":206,"props":1948,"children":1949},{},[1950],{"type":61,"value":1886},{"type":55,"tag":184,"props":1952,"children":1953},{},[1954,1970,1978],{"type":55,"tag":206,"props":1955,"children":1956},{},[1957,1963,1964],{"type":55,"tag":371,"props":1958,"children":1960},{"className":1959},[],[1961],{"type":61,"value":1962},"long",{"type":61,"value":1900},{"type":55,"tag":371,"props":1965,"children":1967},{"className":1966},[],[1968],{"type":61,"value":1969},"Long",{"type":55,"tag":206,"props":1971,"children":1972},{},[1973],{"type":55,"tag":371,"props":1974,"children":1976},{"className":1975},[],[1977],{"type":61,"value":1962},{"type":55,"tag":206,"props":1979,"children":1980},{},[1981],{"type":61,"value":1886},{"type":55,"tag":184,"props":1983,"children":1984},{},[1985,2001,2009],{"type":55,"tag":206,"props":1986,"children":1987},{},[1988,1994,1995],{"type":55,"tag":371,"props":1989,"children":1991},{"className":1990},[],[1992],{"type":61,"value":1993},"double",{"type":61,"value":1900},{"type":55,"tag":371,"props":1996,"children":1998},{"className":1997},[],[1999],{"type":61,"value":2000},"Double",{"type":55,"tag":206,"props":2002,"children":2003},{},[2004],{"type":55,"tag":371,"props":2005,"children":2007},{"className":2006},[],[2008],{"type":61,"value":1993},{"type":55,"tag":206,"props":2010,"children":2011},{},[2012],{"type":61,"value":1886},{"type":55,"tag":184,"props":2014,"children":2015},{},[2016,2032,2040],{"type":55,"tag":206,"props":2017,"children":2018},{},[2019,2025,2026],{"type":55,"tag":371,"props":2020,"children":2022},{"className":2021},[],[2023],{"type":61,"value":2024},"float",{"type":61,"value":1900},{"type":55,"tag":371,"props":2027,"children":2029},{"className":2028},[],[2030],{"type":61,"value":2031},"Float",{"type":55,"tag":206,"props":2033,"children":2034},{},[2035],{"type":55,"tag":371,"props":2036,"children":2038},{"className":2037},[],[2039],{"type":61,"value":2024},{"type":55,"tag":206,"props":2041,"children":2042},{},[2043],{"type":61,"value":1886},{"type":55,"tag":184,"props":2045,"children":2046},{},[2047,2056,2064],{"type":55,"tag":206,"props":2048,"children":2049},{},[2050],{"type":55,"tag":371,"props":2051,"children":2053},{"className":2052},[],[2054],{"type":61,"value":2055},"byte[]",{"type":55,"tag":206,"props":2057,"children":2058},{},[2059],{"type":55,"tag":371,"props":2060,"children":2062},{"className":2061},[],[2063],{"type":61,"value":2055},{"type":55,"tag":206,"props":2065,"children":2066},{},[2067],{"type":61,"value":1886},{"type":55,"tag":184,"props":2069,"children":2070},{},[2071,2080,2089],{"type":55,"tag":206,"props":2072,"children":2073},{},[2074],{"type":55,"tag":371,"props":2075,"children":2077},{"className":2076},[],[2078],{"type":61,"value":2079},"Context",{"type":55,"tag":206,"props":2081,"children":2082},{},[2083],{"type":55,"tag":371,"props":2084,"children":2086},{"className":2085},[],[2087],{"type":61,"value":2088},"Android.Content.Context",{"type":55,"tag":206,"props":2090,"children":2091},{},[2092],{"type":61,"value":2093},"Pass from platform",{"type":55,"tag":184,"props":2095,"children":2096},{},[2097,2106,2115],{"type":55,"tag":206,"props":2098,"children":2099},{},[2100],{"type":55,"tag":371,"props":2101,"children":2103},{"className":2102},[],[2104],{"type":61,"value":2105},"View",{"type":55,"tag":206,"props":2107,"children":2108},{},[2109],{"type":55,"tag":371,"props":2110,"children":2112},{"className":2111},[],[2113],{"type":61,"value":2114},"Android.Views.View",{"type":55,"tag":206,"props":2116,"children":2117},{},[2118],{"type":61,"value":2119},"For view creation",{"type":55,"tag":184,"props":2121,"children":2122},{},[2123,2132,2141],{"type":55,"tag":206,"props":2124,"children":2125},{},[2126],{"type":55,"tag":371,"props":2127,"children":2129},{"className":2128},[],[2130],{"type":61,"value":2131},"JSONObject",{"type":55,"tag":206,"props":2133,"children":2134},{},[2135],{"type":55,"tag":371,"props":2136,"children":2138},{"className":2137},[],[2139],{"type":61,"value":2140},"Org.Json.JSONObject",{"type":55,"tag":206,"props":2142,"children":2143},{},[2144],{"type":61,"value":2145},"For complex data",{"type":55,"tag":184,"props":2147,"children":2148},{},[2149,2154,2165],{"type":55,"tag":206,"props":2150,"children":2151},{},[2152],{"type":61,"value":2153},"Callback interface",{"type":55,"tag":206,"props":2155,"children":2156},{},[2157,2163],{"type":55,"tag":371,"props":2158,"children":2160},{"className":2159},[],[2161],{"type":61,"value":2162},"IJavaObject",{"type":61,"value":2164}," implementation",{"type":55,"tag":206,"props":2166,"children":2167},{},[2168],{"type":61,"value":2169},"See callback pattern",{"type":55,"tag":169,"props":2171,"children":2173},{"id":2172},"things-to-avoid-in-wrapper-api",[2174],{"type":61,"value":2175},"Things to Avoid in Wrapper API",{"type":55,"tag":176,"props":2177,"children":2178},{},[2179,2195],{"type":55,"tag":180,"props":2180,"children":2181},{},[2182],{"type":55,"tag":184,"props":2183,"children":2184},{},[2185,2190],{"type":55,"tag":188,"props":2186,"children":2187},{},[2188],{"type":61,"value":2189},"Avoid",{"type":55,"tag":188,"props":2191,"children":2192},{},[2193],{"type":61,"value":2194},"Use Instead",{"type":55,"tag":199,"props":2196,"children":2197},{},[2198,2211,2224,2237,2250,2263],{"type":55,"tag":184,"props":2199,"children":2200},{},[2201,2206],{"type":55,"tag":206,"props":2202,"children":2203},{},[2204],{"type":61,"value":2205},"Kotlin coroutines",{"type":55,"tag":206,"props":2207,"children":2208},{},[2209],{"type":61,"value":2210},"Callback interfaces",{"type":55,"tag":184,"props":2212,"children":2213},{},[2214,2219],{"type":55,"tag":206,"props":2215,"children":2216},{},[2217],{"type":61,"value":2218},"Kotlin lambdas",{"type":55,"tag":206,"props":2220,"children":2221},{},[2222],{"type":61,"value":2223},"Java-style interfaces",{"type":55,"tag":184,"props":2225,"children":2226},{},[2227,2232],{"type":55,"tag":206,"props":2228,"children":2229},{},[2230],{"type":61,"value":2231},"Kotlin data classes",{"type":55,"tag":206,"props":2233,"children":2234},{},[2235],{"type":61,"value":2236},"Simple classes with getters",{"type":55,"tag":184,"props":2238,"children":2239},{},[2240,2245],{"type":55,"tag":206,"props":2241,"children":2242},{},[2243],{"type":61,"value":2244},"Kotlin sealed classes",{"type":55,"tag":206,"props":2246,"children":2247},{},[2248],{"type":61,"value":2249},"Enums or class hierarchy",{"type":55,"tag":184,"props":2251,"children":2252},{},[2253,2258],{"type":55,"tag":206,"props":2254,"children":2255},{},[2256],{"type":61,"value":2257},"Generics (complex)",{"type":55,"tag":206,"props":2259,"children":2260},{},[2261],{"type":61,"value":2262},"Specific types or Object",{"type":55,"tag":184,"props":2264,"children":2265},{},[2266,2271],{"type":55,"tag":206,"props":2267,"children":2268},{},[2269],{"type":61,"value":2270},"Rx\u002FFlow observables",{"type":55,"tag":206,"props":2272,"children":2273},{},[2274],{"type":61,"value":2210},{"type":55,"tag":169,"props":2276,"children":2278},{"id":2277},"msbuild-items-reference",[2279],{"type":61,"value":2280},"MSBuild Items Reference",{"type":55,"tag":176,"props":2282,"children":2283},{},[2284,2300],{"type":55,"tag":180,"props":2285,"children":2286},{},[2287],{"type":55,"tag":184,"props":2288,"children":2289},{},[2290,2295],{"type":55,"tag":188,"props":2291,"children":2292},{},[2293],{"type":61,"value":2294},"Item",{"type":55,"tag":188,"props":2296,"children":2297},{},[2298],{"type":61,"value":2299},"Purpose",{"type":55,"tag":199,"props":2301,"children":2302},{},[2303,2319,2336,2352,2368,2385],{"type":55,"tag":184,"props":2304,"children":2305},{},[2306,2314],{"type":55,"tag":206,"props":2307,"children":2308},{},[2309],{"type":55,"tag":371,"props":2310,"children":2312},{"className":2311},[],[2313],{"type":61,"value":960},{"type":55,"tag":206,"props":2315,"children":2316},{},[2317],{"type":61,"value":2318},"Include AAR\u002FJAR in binding",{"type":55,"tag":184,"props":2320,"children":2321},{},[2322,2331],{"type":55,"tag":206,"props":2323,"children":2324},{},[2325],{"type":55,"tag":371,"props":2326,"children":2328},{"className":2327},[],[2329],{"type":61,"value":2330},"\u003CAndroidMavenLibrary>",{"type":55,"tag":206,"props":2332,"children":2333},{},[2334],{"type":61,"value":2335},"Download and include from Maven",{"type":55,"tag":184,"props":2337,"children":2338},{},[2339,2347],{"type":55,"tag":206,"props":2340,"children":2341},{},[2342],{"type":55,"tag":371,"props":2343,"children":2345},{"className":2344},[],[2346],{"type":61,"value":993},{"type":55,"tag":206,"props":2348,"children":2349},{},[2350],{"type":61,"value":2351},"Ignore a dependency (compile-time only)",{"type":55,"tag":184,"props":2353,"children":2354},{},[2355,2363],{"type":55,"tag":206,"props":2356,"children":2357},{},[2358],{"type":55,"tag":371,"props":2359,"children":2361},{"className":2360},[],[2362],{"type":61,"value":1782},{"type":55,"tag":206,"props":2364,"children":2365},{},[2366],{"type":61,"value":2367},"Include .so files",{"type":55,"tag":184,"props":2369,"children":2370},{},[2371,2380],{"type":55,"tag":206,"props":2372,"children":2373},{},[2374],{"type":55,"tag":371,"props":2375,"children":2377},{"className":2376},[],[2378],{"type":61,"value":2379},"\u003CTransformFile>",{"type":55,"tag":206,"props":2381,"children":2382},{},[2383],{"type":61,"value":2384},"Metadata transform files",{"type":55,"tag":184,"props":2386,"children":2387},{},[2388,2396],{"type":55,"tag":206,"props":2389,"children":2390},{},[2391],{"type":55,"tag":371,"props":2392,"children":2394},{"className":2393},[],[2395],{"type":61,"value":971},{"type":55,"tag":206,"props":2397,"children":2398},{},[2399],{"type":61,"value":2400},"NuGet package reference",{"type":55,"tag":169,"props":2402,"children":2404},{"id":2403},"common-attributes",[2405],{"type":61,"value":2406},"Common Attributes",{"type":55,"tag":176,"props":2408,"children":2409},{},[2410,2430],{"type":55,"tag":180,"props":2411,"children":2412},{},[2413],{"type":55,"tag":184,"props":2414,"children":2415},{},[2416,2421,2426],{"type":55,"tag":188,"props":2417,"children":2418},{},[2419],{"type":61,"value":2420},"Attribute",{"type":55,"tag":188,"props":2422,"children":2423},{},[2424],{"type":61,"value":2425},"Values",{"type":55,"tag":188,"props":2427,"children":2428},{},[2429],{"type":61,"value":2299},{"type":55,"tag":199,"props":2431,"children":2432},{},[2433,2467,2498,2524,2550],{"type":55,"tag":184,"props":2434,"children":2435},{},[2436,2445,2462],{"type":55,"tag":206,"props":2437,"children":2438},{},[2439],{"type":55,"tag":371,"props":2440,"children":2442},{"className":2441},[],[2443],{"type":61,"value":2444},"Bind",{"type":55,"tag":206,"props":2446,"children":2447},{},[2448,2454,2456],{"type":55,"tag":371,"props":2449,"children":2451},{"className":2450},[],[2452],{"type":61,"value":2453},"true",{"type":61,"value":2455},"\u002F",{"type":55,"tag":371,"props":2457,"children":2459},{"className":2458},[],[2460],{"type":61,"value":2461},"false",{"type":55,"tag":206,"props":2463,"children":2464},{},[2465],{"type":61,"value":2466},"Whether to generate C# bindings",{"type":55,"tag":184,"props":2468,"children":2469},{},[2470,2479,2493],{"type":55,"tag":206,"props":2471,"children":2472},{},[2473],{"type":55,"tag":371,"props":2474,"children":2476},{"className":2475},[],[2477],{"type":61,"value":2478},"Pack",{"type":55,"tag":206,"props":2480,"children":2481},{},[2482,2487,2488],{"type":55,"tag":371,"props":2483,"children":2485},{"className":2484},[],[2486],{"type":61,"value":2453},{"type":61,"value":2455},{"type":55,"tag":371,"props":2489,"children":2491},{"className":2490},[],[2492],{"type":61,"value":2461},{"type":55,"tag":206,"props":2494,"children":2495},{},[2496],{"type":61,"value":2497},"Whether to include in NuGet package",{"type":55,"tag":184,"props":2499,"children":2500},{},[2501,2510,2519],{"type":55,"tag":206,"props":2502,"children":2503},{},[2504],{"type":55,"tag":371,"props":2505,"children":2507},{"className":2506},[],[2508],{"type":61,"value":2509},"JavaArtifact",{"type":55,"tag":206,"props":2511,"children":2512},{},[2513],{"type":55,"tag":371,"props":2514,"children":2516},{"className":2515},[],[2517],{"type":61,"value":2518},"groupId:artifactId",{"type":55,"tag":206,"props":2520,"children":2521},{},[2522],{"type":61,"value":2523},"Declare what Maven artifact this satisfies",{"type":55,"tag":184,"props":2525,"children":2526},{},[2527,2536,2545],{"type":55,"tag":206,"props":2528,"children":2529},{},[2530],{"type":55,"tag":371,"props":2531,"children":2533},{"className":2532},[],[2534],{"type":61,"value":2535},"JavaVersion",{"type":55,"tag":206,"props":2537,"children":2538},{},[2539],{"type":55,"tag":371,"props":2540,"children":2542},{"className":2541},[],[2543],{"type":61,"value":2544},"version",{"type":55,"tag":206,"props":2546,"children":2547},{},[2548],{"type":61,"value":2549},"Version of the Maven artifact",{"type":55,"tag":184,"props":2551,"children":2552},{},[2553,2562,2580],{"type":55,"tag":206,"props":2554,"children":2555},{},[2556],{"type":55,"tag":371,"props":2557,"children":2559},{"className":2558},[],[2560],{"type":61,"value":2561},"Repository",{"type":55,"tag":206,"props":2563,"children":2564},{},[2565,2571,2572,2578],{"type":55,"tag":371,"props":2566,"children":2568},{"className":2567},[],[2569],{"type":61,"value":2570},"Central",{"type":61,"value":2455},{"type":55,"tag":371,"props":2573,"children":2575},{"className":2574},[],[2576],{"type":61,"value":2577},"Google",{"type":61,"value":2579},"\u002FURL",{"type":55,"tag":206,"props":2581,"children":2582},{},[2583],{"type":61,"value":2584},"Maven repository to download from",{"type":55,"tag":56,"props":2586,"children":2588},{"id":2587},"resources",[2589],{"type":61,"value":2590},"Resources",{"type":55,"tag":169,"props":2592,"children":2594},{"id":2593},"official-documentation",[2595],{"type":61,"value":2596},"Official Documentation",{"type":55,"tag":70,"props":2598,"children":2599},{},[2600,2611,2621,2631,2641,2651],{"type":55,"tag":74,"props":2601,"children":2602},{},[2603],{"type":55,"tag":568,"props":2604,"children":2608},{"href":2605,"rel":2606},"https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fbinding-java-libs\u002Fbinding-java-library",[2607],"nofollow",[2609],{"type":61,"value":2610},"Binding a Java Library (Microsoft Docs)",{"type":55,"tag":74,"props":2612,"children":2613},{},[2614],{"type":55,"tag":568,"props":2615,"children":2618},{"href":2616,"rel":2617},"https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fbinding-java-libs\u002Fbinding-java-maven-library",[2607],[2619],{"type":61,"value":2620},"Binding from Maven (Microsoft Docs)",{"type":55,"tag":74,"props":2622,"children":2623},{},[2624],{"type":55,"tag":568,"props":2625,"children":2628},{"href":2626,"rel":2627},"https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fadvanced-concepts\u002Fjava-dependency-verification",[2607],[2629],{"type":61,"value":2630},"Java Dependency Verification",{"type":55,"tag":74,"props":2632,"children":2633},{},[2634],{"type":55,"tag":568,"props":2635,"children":2638},{"href":2636,"rel":2637},"https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fadvanced-concepts\u002Fresolving-java-dependencies",[2607],[2639],{"type":61,"value":2640},"Resolving Java Dependencies",{"type":55,"tag":74,"props":2642,"children":2643},{},[2644],{"type":55,"tag":568,"props":2645,"children":2648},{"href":2646,"rel":2647},"https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fandroid\u002Fbinding-libs\u002Fcustomizing-bindings\u002Fjava-bindings-metadata",[2607],[2649],{"type":61,"value":2650},"Java Bindings Metadata",{"type":55,"tag":74,"props":2652,"children":2653},{},[2654],{"type":55,"tag":568,"props":2655,"children":2658},{"href":2656,"rel":2657},"https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcommunitytoolkit\u002Fmaui\u002Fnative-library-interop",[2607],[2659],{"type":61,"value":2660},"Native Library Interop - .NET Community Toolkit",{"type":55,"tag":169,"props":2662,"children":2664},{"id":2663},"version-discovery",[2665],{"type":61,"value":2666},"Version Discovery",{"type":55,"tag":70,"props":2668,"children":2669},{},[2670,2680,2690],{"type":55,"tag":74,"props":2671,"children":2672},{},[2673],{"type":55,"tag":568,"props":2674,"children":2677},{"href":2675,"rel":2676},"https:\u002F\u002Fdeveloper.android.com\u002Fbuild\u002Freleases\u002Fgradle-plugin",[2607],[2678],{"type":61,"value":2679},"Android Gradle Plugin Releases",{"type":55,"tag":74,"props":2681,"children":2682},{},[2683],{"type":55,"tag":568,"props":2684,"children":2687},{"href":2685,"rel":2686},"https:\u002F\u002Fgradle.org\u002Freleases\u002F",[2607],[2688],{"type":61,"value":2689},"Gradle Releases",{"type":55,"tag":74,"props":2691,"children":2692},{},[2693],{"type":55,"tag":568,"props":2694,"children":2697},{"href":2695,"rel":2696},"https:\u002F\u002Fkotlinlang.org\u002Fdocs\u002Freleases.html",[2607],[2698],{"type":61,"value":2699},"Kotlin Releases",{"type":55,"tag":169,"props":2701,"children":2703},{"id":2702},"templates-and-examples",[2704],{"type":61,"value":2705},"Templates and Examples",{"type":55,"tag":70,"props":2707,"children":2708},{},[2709,2719],{"type":55,"tag":74,"props":2710,"children":2711},{},[2712],{"type":55,"tag":568,"props":2713,"children":2716},{"href":2714,"rel":2715},"https:\u002F\u002Fgithub.com\u002FCommunityToolkit\u002FMaui.NativeLibraryInterop",[2607],[2717],{"type":61,"value":2718},"Maui.NativeLibraryInterop Repository",{"type":55,"tag":74,"props":2720,"children":2721},{},[2722],{"type":55,"tag":568,"props":2723,"children":2726},{"href":2724,"rel":2725},"https:\u002F\u002Fgithub.com\u002Fxamarin\u002FAndroidX",[2607],[2727],{"type":61,"value":2728},"Xamarin.AndroidX Repository",{"type":55,"tag":169,"props":2730,"children":2732},{"id":2731},"reference-files",[2733],{"type":61,"value":2734},"Reference Files",{"type":55,"tag":70,"props":2736,"children":2737},{},[2738,2749,2759],{"type":55,"tag":74,"props":2739,"children":2740},{},[2741,2747],{"type":55,"tag":568,"props":2742,"children":2744},{"href":2743},"references\u002Fandroid-bindings-guide.md",[2745],{"type":61,"value":2746},"android-bindings-guide.md",{"type":61,"value":2748}," — comprehensive binding reference",{"type":55,"tag":74,"props":2750,"children":2751},{},[2752,2757],{"type":55,"tag":568,"props":2753,"children":2754},{"href":570},[2755],{"type":61,"value":2756},"android-slim-bindings-implementation.md",{"type":61,"value":2758}," — detailed code examples, troubleshooting, and complete scripts",{"type":55,"tag":74,"props":2760,"children":2761},{},[2762,2764,2769],{"type":61,"value":2763},"For iOS bindings, use the ",{"type":55,"tag":161,"props":2765,"children":2766},{},[2767],{"type":61,"value":2768},"ios-slim-bindings",{"type":61,"value":2770}," skill",{"type":55,"tag":56,"props":2772,"children":2774},{"id":2773},"output-format",[2775],{"type":61,"value":2776},"Output Format",{"type":55,"tag":64,"props":2778,"children":2779},{},[2780],{"type":61,"value":2781},"When assisting with Android slim bindings, provide:",{"type":55,"tag":1497,"props":2783,"children":2784},{},[2785,2795,2805,2815,2825,2842,2852,2862],{"type":55,"tag":74,"props":2786,"children":2787},{},[2788,2793],{"type":55,"tag":161,"props":2789,"children":2790},{},[2791],{"type":61,"value":2792},"Dependency analysis",{"type":61,"value":2794}," - Full dependency tree and NuGet mapping strategy",{"type":55,"tag":74,"props":2796,"children":2797},{},[2798,2803],{"type":55,"tag":161,"props":2799,"children":2800},{},[2801],{"type":61,"value":2802},"Project structure",{"type":61,"value":2804}," - File\u002Ffolder layout for the binding",{"type":55,"tag":74,"props":2806,"children":2807},{},[2808,2813],{"type":55,"tag":161,"props":2809,"children":2810},{},[2811],{"type":61,"value":2812},"Wrapper code",{"type":61,"value":2814}," - Complete Java or Kotlin implementation",{"type":55,"tag":74,"props":2816,"children":2817},{},[2818,2823],{"type":55,"tag":161,"props":2819,"children":2820},{},[2821],{"type":61,"value":2822},"Gradle configuration",{"type":61,"value":2824}," - build.gradle.kts with dependencies",{"type":55,"tag":74,"props":2826,"children":2827},{},[2828,2833,2835,2840],{"type":55,"tag":161,"props":2829,"children":2830},{},[2831],{"type":61,"value":2832},"C# binding project",{"type":61,"value":2834}," - ",{"type":55,"tag":371,"props":2836,"children":2838},{"className":2837},[],[2839],{"type":61,"value":946},{"type":61,"value":2841}," with proper dependency references",{"type":55,"tag":74,"props":2843,"children":2844},{},[2845,2850],{"type":55,"tag":161,"props":2846,"children":2847},{},[2848],{"type":61,"value":2849},"Metadata transforms",{"type":61,"value":2851}," - Metadata.xml for namespace and parameter renaming",{"type":55,"tag":74,"props":2853,"children":2854},{},[2855,2860],{"type":55,"tag":161,"props":2856,"children":2857},{},[2858],{"type":61,"value":2859},"Usage examples",{"type":61,"value":2861}," - How to call the binding from MAUI\u002FC#",{"type":55,"tag":74,"props":2863,"children":2864},{},[2865,2870],{"type":55,"tag":161,"props":2866,"children":2867},{},[2868],{"type":61,"value":2869},"Troubleshooting guidance",{"type":61,"value":2871}," - Common issues and solutions for the specific library",{"type":55,"tag":64,"props":2873,"children":2874},{},[2875],{"type":61,"value":2876},"Always verify:",{"type":55,"tag":70,"props":2878,"children":2879},{},[2880,2885,2890,2895,2900],{"type":55,"tag":74,"props":2881,"children":2882},{},[2883],{"type":61,"value":2884},"All transitive dependencies are accounted for",{"type":55,"tag":74,"props":2886,"children":2887},{},[2888],{"type":61,"value":2889},"NuGet packages match required Maven versions",{"type":55,"tag":74,"props":2891,"children":2892},{},[2893],{"type":61,"value":2894},"Wrapper methods use simple, marshallable types",{"type":55,"tag":74,"props":2896,"children":2897},{},[2898],{"type":61,"value":2899},"Callback interfaces are properly designed",{"type":55,"tag":74,"props":2901,"children":2902},{},[2903],{"type":61,"value":2904},"Metadata.xml renames parameters to meaningful names",{"type":55,"tag":2906,"props":2907,"children":2908},"style",{},[2909],{"type":61,"value":2910},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2912,"total":3009},[2913,2921,2935,2949,2966,2982,2998],{"slug":4,"name":4,"fn":5,"description":6,"org":2914,"tags":2915,"stars":28,"repoUrl":29,"updatedAt":30},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2916,2917,2918,2919,2920],{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"name":26,"slug":27,"type":15},{"slug":2922,"name":2922,"fn":2923,"description":2924,"org":2925,"tags":2926,"stars":28,"repoUrl":29,"updatedAt":2934},"devflow-automation","automate .NET MAUI app state","Automate MAUI app state through DevFlow Actions. USE FOR: `[DevFlowAction]` shortcuts, login, seed data, deep screens. DO NOT USE FOR: arbitrary methods, DI internals, UI MCP tools, connectivity, or build\u002Fdeploy issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2927,2928,2931,2933],{"name":23,"slug":24,"type":15},{"name":2929,"slug":2930,"type":15},"Automation","automation",{"name":2932,"slug":38,"type":15},"MAUI",{"name":26,"slug":27,"type":15},"2026-07-12T08:22:56.616564",{"slug":2936,"name":2936,"fn":2937,"description":2938,"org":2939,"tags":2940,"stars":28,"repoUrl":29,"updatedAt":2948},"devflow-connect","diagnose DevFlow agent connectivity issues","Diagnose DevFlow agent connectivity. USE FOR: `maui devflow` connection failures, agent not found, ports, adb forwarding, broker. DO NOT USE FOR: build failures, setup, visual tree, or Blazor CDP.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2941,2944,2945],{"name":2942,"slug":2943,"type":15},"Debugging","debugging",{"name":2932,"slug":38,"type":15},{"name":2946,"slug":2947,"type":15},"Networking","networking","2026-07-12T08:22:48.847431",{"slug":2950,"name":2950,"fn":2951,"description":2952,"org":2953,"tags":2954,"stars":28,"repoUrl":29,"updatedAt":2965},"dotnet-workload-info","discover MAUI workload metadata","Discover MAUI workload metadata from live NuGet APIs. USE FOR: workload manifest lookup, WorkloadDependencies.json, v3-flatcontainer, CLI-to-NuGet version conversion, Xcode\u002FJDK\u002FAndroid SDK requirements, CI sdkmanager packages, `packageid:Microsoft.Maui.Controls`. DO NOT USE FOR: installing workloads, build debugging, or app version edits.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2955,2958,2961,2964],{"name":2956,"slug":2957,"type":15},"C#","csharp",{"name":2959,"slug":2960,"type":15},"CLI","cli",{"name":2962,"slug":2963,"type":15},"Engineering","engineering",{"name":2932,"slug":38,"type":15},"2026-07-12T08:22:46.318953",{"slug":2768,"name":2768,"fn":2967,"description":2968,"org":2969,"tags":2970,"stars":28,"repoUrl":29,"updatedAt":2981},"create iOS slim bindings for MAUI","Create iOS slim bindings for MAUI. USE FOR: slim iOS binding, Native Library Interop, Swift\u002FObjective-C wrappers, XcodeGen project.yml, Podfile, CocoaPods static linking, BUILD_LIBRARY_FOR_DISTRIBUTION, XcodeProject MSBuild, `@objc`\u002F`[Export]` selector crashes, async completion handlers. DO NOT USE FOR: Android bindings, general MAUI apps, or NuGet packaging.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2971,2972,2974,2975,2978],{"name":23,"slug":24,"type":15},{"name":2973,"slug":36,"type":15},"iOS",{"name":2932,"slug":38,"type":15},{"name":2976,"slug":2977,"type":15},"Swift","swift",{"name":2979,"slug":2980,"type":15},"Xcode","xcode","2026-07-12T08:22:50.128667",{"slug":2983,"name":2983,"fn":2984,"description":2985,"org":2986,"tags":2987,"stars":28,"repoUrl":29,"updatedAt":2997},"maui-accessibility","implement accessibility in .NET MAUI apps","Make .NET MAUI apps accessible with semantic properties, screen reader labels\u002Fhints, heading levels, focus, announcements, AutomationProperties, touch targets, and platform checks. USE FOR: accessibility audits, WCAG UI fixes, TalkBack\u002FVoiceOver\u002FNarrator behavior, SemanticProperties.Description\u002FHint\u002FHeadingLevel, SemanticScreenReader.Announce, SetSemanticFocus, avoiding redundant Label metadata, hiding decorative content with IsInAccessibleTree=false, and CollectionView row semantics. DO NOT USE FOR: general layout, UI automation only, or performance tuning.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2988,2989,2992,2993,2994],{"name":23,"slug":24,"type":15},{"name":2990,"slug":2991,"type":15},"Accessibility","accessibility",{"name":2932,"slug":38,"type":15},{"name":26,"slug":27,"type":15},{"name":2995,"slug":2996,"type":15},"WCAG","wcag","2026-07-12T08:22:17.823583",{"slug":2999,"name":2999,"fn":3000,"description":3001,"org":3002,"tags":3003,"stars":28,"repoUrl":29,"updatedAt":3008},"maui-ai-debugging","debug .NET MAUI application issues","Legacy DevFlow debug skill. USE FOR: `maui-ai-debugging`, `maui devflow`, screenshots, visual tree, Blazor CDP, simulator\u002Femulator debugging. DO NOT USE FOR: setup, desktop automation, AppleScript, host `xdotool`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3004,3005,3006,3007],{"name":23,"slug":24,"type":15},{"name":2942,"slug":2943,"type":15},{"name":2932,"slug":38,"type":15},{"name":26,"slug":27,"type":15},"2026-07-12T08:22:52.634889",32,{"items":3011,"total":3167},[3012,3026,3041,3053,3069,3083,3101,3111,3123,3133,3146,3157],{"slug":3013,"name":3013,"fn":3014,"description":3015,"org":3016,"tags":3017,"stars":3023,"repoUrl":3024,"updatedAt":3025},"multithreaded-task-migration","migrate MSBuild tasks to multithreaded mode","Guide for migrating MSBuild tasks to multithreaded mode support, including compatibility red-team review. Use this when converting tasks to thread-safe versions, implementing IMultiThreadableTask, adding TaskEnvironment support, or auditing migrations for behavioral compatibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3018,3019,3020],{"name":23,"slug":24,"type":15},{"name":2962,"slug":2963,"type":15},{"name":3021,"slug":3022,"type":15},"Performance","performance",5535,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmsbuild","2026-07-22T05:37:33.965588",{"slug":3027,"name":3027,"fn":3028,"description":3029,"org":3030,"tags":3031,"stars":3038,"repoUrl":3039,"updatedAt":3040},"analyzing-dotnet-performance","analyze .NET code for performance anti-patterns","Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I\u002FO with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3032,3033,3036,3037],{"name":23,"slug":24,"type":15},{"name":3034,"slug":3035,"type":15},"Code Analysis","code-analysis",{"name":2942,"slug":2943,"type":15},{"name":3021,"slug":3022,"type":15},4576,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills","2026-07-12T08:23:25.400375",{"slug":3042,"name":3042,"fn":3043,"description":3044,"org":3045,"tags":3046,"stars":3038,"repoUrl":3039,"updatedAt":3052},"android-tombstone-symbolication","symbolicate .NET runtime frames in Android tombstones","Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so or libcoreclr.so to .NET runtime source code, or investigating SIGABRT, SIGSEGV, or other native signals originating from the .NET runtime on Android. DO NOT USE FOR pure Java\u002FKotlin crashes, managed .NET exceptions that are already captured in logcat, or iOS crash logs. INVOKES Symbolicate-Tombstone.ps1 script, llvm-symbolizer, Microsoft symbol server.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3047,3048,3049,3050],{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":2942,"slug":2943,"type":15},{"name":3051,"slug":40,"type":15},"Microsoft","2026-07-12T08:23:21.595572",{"slug":3054,"name":3054,"fn":3055,"description":3056,"org":3057,"tags":3058,"stars":3038,"repoUrl":3039,"updatedAt":3068},"apple-crash-symbolication","symbolicate .NET runtime frames in crash logs","Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone, or investigating EXC_CRASH, EXC_BAD_ACCESS, SIGABRT, or SIGSEGV originating from the .NET runtime. DO NOT USE FOR pure Swift\u002FObjective-C crashes with no .NET components, or Android tombstone files. INVOKES Symbolicate-Crash.ps1 script, atos, dwarfdump, idevicecrashreport.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3059,3060,3061,3062,3065],{"name":23,"slug":24,"type":15},{"name":2942,"slug":2943,"type":15},{"name":2973,"slug":36,"type":15},{"name":3063,"slug":3064,"type":15},"macOS","macos",{"name":3066,"slug":3067,"type":15},"Observability","observability","2026-07-12T08:23:20.369986",{"slug":3070,"name":3070,"fn":3071,"description":3072,"org":3073,"tags":3074,"stars":3038,"repoUrl":3039,"updatedAt":3082},"assertion-quality","evaluate assertion quality in test suites","Analyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow tests, identify assertion-free tests (no assertions or only trivial ones like Assert.IsNotNull \u002F toBeTruthy()), flag self-referential or tautological assertions, measure assertion diversity, or audit whether tests verify different facets of behavior. Polyglot: .NET, Python, TS\u002FJS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. DO NOT USE FOR: writing new tests (use code-testing-agent \u002F writing-mstest-tests), mutation reasoning about whether tests would catch a bug (use test-gap-analysis), or a general severity-ranked anti-pattern audit (use test-anti-patterns), fixing or rewriting assertions, or writing, fixing, or modernizing MSTest tests, assertions, or attributes (use writing-mstest-tests).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3075,3076,3079],{"name":3034,"slug":3035,"type":15},{"name":3077,"slug":3078,"type":15},"QA","qa",{"name":3080,"slug":3081,"type":15},"Testing","testing","2026-07-12T08:23:51.277743",{"slug":3084,"name":3084,"fn":3085,"description":3086,"org":3087,"tags":3088,"stars":3038,"repoUrl":3039,"updatedAt":3100},"author-component","create and review Blazor components","Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable, CancellationToken, CSS isolation, code-behind. DO NOT USE FOR: creating new projects (use create-blazor-project), JavaScript interop or calling browser APIs from Blazor (use use-js-interop), forms and validation (use collect-user-input), prerendering issues (use support-prerendering), HTTP data fetching patterns (use fetch-and-send-data), coordinating state between unrelated components (use coordinate-components).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3089,3090,3093,3094,3097],{"name":23,"slug":24,"type":15},{"name":3091,"slug":3092,"type":15},"Blazor","blazor",{"name":2956,"slug":2957,"type":15},{"name":3095,"slug":3096,"type":15},"UI Components","ui-components",{"name":3098,"slug":3099,"type":15},"Web Development","web-development","2026-07-15T06:03:29.216359",{"slug":3102,"name":3102,"fn":3103,"description":3104,"org":3105,"tags":3106,"stars":3038,"repoUrl":3039,"updatedAt":3110},"binlog-failure-analysis","analyze MSBuild binary logs","Analyze MSBuild binary logs to diagnose build failures. USE FOR: build errors that are unclear from console output, diagnosing cascading failures across multi-project builds, tracing MSBuild target execution order, and generally any MSBuild build issues. Requires an existing .binlog file. DO NOT USE FOR: generating binlogs (use binlog-generation), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3107,3108,3109],{"name":3034,"slug":3035,"type":15},{"name":2942,"slug":2943,"type":15},{"name":3051,"slug":40,"type":15},"2026-07-12T08:21:34.637923",{"slug":3112,"name":3112,"fn":3113,"description":3114,"org":3115,"tags":3116,"stars":3038,"repoUrl":3039,"updatedAt":3122},"binlog-generation","generate MSBuild binary logs for diagnostics","Generate MSBuild binary logs (binlogs) for build diagnostics and analysis. USE FOR: adding \u002Fbl:{} to any dotnet build, test, pack, publish, or restore command to capture a full build execution trace, prerequisite for binlog-failure-analysis and build-perf-diagnostics skills, enabling post-build investigation of errors or performance. Requires MSBuild 17.8+ \u002F .NET 8 SDK+ for {} placeholder; PowerShell needs -bl:{{}}. DO NOT USE FOR: non-MSBuild build systems (npm, Maven, CMake), analyzing an existing binlog (use binlog-failure-analysis instead).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3117,3120,3121],{"name":3118,"slug":3119,"type":15},"Build","build",{"name":2942,"slug":2943,"type":15},{"name":2962,"slug":2963,"type":15},"2026-07-19T05:38:19.340791",{"slug":3124,"name":3124,"fn":3125,"description":3126,"org":3127,"tags":3128,"stars":3038,"repoUrl":3039,"updatedAt":3132},"build-parallelism","optimize MSBuild build parallelism","Diagnose and fix under-parallelized MSBuild builds. USE WHEN a multi-project solution build is slower than expected, doesn't speed up when you add cores, pegs a single core while others idle, or you want to know why `-m` isn't helping. Note: `\u002Fmaxcpucount` default is 1 (sequential) — always pass `-m` for parallel builds. Covers finding the critical path (longest serial ProjectReference chain), graph build (`\u002Fgraph`), BuildInParallel, and solution filters (`.slnf`). DO NOT USE FOR: single-project builds, incremental issues (use incremental-build), compilation slowness inside one project (use build-perf-diagnostics), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3129,3130,3131],{"name":23,"slug":24,"type":15},{"name":2962,"slug":2963,"type":15},{"name":3021,"slug":3022,"type":15},"2026-07-19T05:38:18.364937",{"slug":3134,"name":3134,"fn":3135,"description":3136,"org":3137,"tags":3138,"stars":3038,"repoUrl":3039,"updatedAt":3145},"build-perf-baseline","establish and optimize build performance baselines","Establish build performance baselines and apply systematic optimization techniques. USE FOR: diagnosing slow builds, establishing before\u002Fafter measurements (cold, warm, no-op scenarios), applying optimization strategies like MSBuild Server, static graph builds, artifacts output, and dependency graph trimming. Start here before diving into build-perf-diagnostics, incremental-build, or build-parallelism. DO NOT USE FOR: non-MSBuild build systems, detailed bottleneck analysis (use build-perf-diagnostics after baselining).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3139,3140,3143,3144],{"name":2962,"slug":2963,"type":15},{"name":3141,"slug":3142,"type":15},"Monitoring","monitoring",{"name":3021,"slug":3022,"type":15},{"name":3080,"slug":3081,"type":15},"2026-07-12T08:21:35.865649",{"slug":3147,"name":3147,"fn":3148,"description":3149,"org":3150,"tags":3151,"stars":3038,"repoUrl":3039,"updatedAt":3156},"build-perf-diagnostics","diagnose MSBuild build performance bottlenecks","Diagnose MSBuild build performance bottlenecks using binary log analysis. USE FOR: identifying why builds are slow by analyzing binlog performance summaries, detecting ResolveAssemblyReference (RAR) taking >5s, Roslyn analyzers consuming >30% of Csc time, single targets dominating >50% of build time, node utilization below 80%, excessive Copy tasks, NuGet restore running every build. Covers timeline analysis, Target\u002FTask Performance Summary interpretation, and 7 common bottleneck categories. Use after build-perf-baseline has established measurements. DO NOT USE FOR: establishing initial baselines (use build-perf-baseline first), fixing incremental build issues (use incremental-build), parallelism tuning (use build-parallelism), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3152,3153,3154,3155],{"name":23,"slug":24,"type":15},{"name":2942,"slug":2943,"type":15},{"name":2962,"slug":2963,"type":15},{"name":3021,"slug":3022,"type":15},"2026-07-12T08:21:40.961722",{"slug":3158,"name":3158,"fn":3159,"description":3160,"org":3161,"tags":3162,"stars":3038,"repoUrl":3039,"updatedAt":3166},"check-bin-obj-clash","detect MSBuild output path conflicts","Detects MSBuild projects with conflicting OutputPath or IntermediateOutputPath. USE FOR: builds failing with 'Cannot create a file when that file already exists', 'The process cannot access the file because it is being used by another process', intermittent build failures that succeed on retry, or missing\u002Foverwritten outputs in multi-project or multi-targeting builds where bin\u002Fobj (or project.assets.json) collide. Common causes: shared OutputPath, missing AppendTargetFrameworkToOutputPath, extra global properties (e.g. PublishReadyToRun), or SetTargetFramework on a ProjectReference to a single-targeting project. DO NOT USE FOR: file access errors unrelated to MSBuild (OS-level locking), single-project single-TFM builds, non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3163,3164,3165],{"name":2942,"slug":2943,"type":15},{"name":2962,"slug":2963,"type":15},{"name":3077,"slug":3078,"type":15},"2026-07-19T05:38:14.336279",144]