I need to put code from my android app(Java) to Xamarin and need to create instance of BroadcastReceiver and to put it in variable(Like I did in android).
I don't want to create a new class that implements BroadcastReceiver but to get only its instance in any variable
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
public void onReceive(Context context, Intent intent) {
}
};