Skip to content

Add C# 8 nullability annotations to bindings #468

Closed
@cosminstirbu

Description

@cosminstirbu

Hello,

Are there any plans to update the Xamarin.Android bindings (and the generator it self) to support C# 8 nullability?

Since Kotlin adoption by Google the Java Android SDK and the AndroidX libraries have been enhanced to expose the @nullable annotation to help Kotlin indicate if it a value can be null or not.

The bindings generator could also leverage the @nullable annotation to expose C# 8 nullable types.

On Xamarin.iOS there is an issue already opened to capture this dotnet/macios#6154 and since I didn't find one for Xamarin.Android I've decided to open one myself.

Thank you,
Cosmin

Metadata

Metadata

Assignees

Labels

enhancementProposed change to current functionalitygeneratorIssues binding a Java library (generator, class-parse, etc.)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions