I can't inherit from Android.App.NotificationManager:
public class myNotificationManager : NotificationManager
{
protected myNotificationManager(IntPtr javaReference, JniHandleOwnership transfer) : base(javaReference, transfer)
{
}
}
I have no C# error, but when I build the project I get this error:
error: constructor NotificationManager in class NotificationManager cannot be applied to given types;
public class myNotificationManager
required: Context,Handler
found: no arguments
reason: actual and formal argument lists differ in length App2
C:\Workspaces\Sandbox\App2\App2\obj\Debug\90\android\src\crc64bb1b55f618e11607\myNotificationManager.java
I understand the message but according to the dotnet documentation: NotificationManager Constructor the type of the constructor's parameters is IntPtr and JniHandleOwnership not Context and Handler.
From the Android documentation I dont see any public constructor
Android target framework version: v9.0 (API 28)
Android SDK Plateform installed: 28,29,30
