Forum Xamarin.Android

AndroidX.Room Database Annotation, bad bindings?

[Database(Entities = new Java.Lang.Class[] { Java.Lang.Class.FromType(typeof(SomeClass)) })]

Results in 'Entities is not a valid named attribute argument because it is not a valid attribute parameter type'
Which I understand, because this is the related part:

public Java.Lang.Class[] Entities { get; set; }

How am I supposed to use Room though, if the bindings themselves are incorrect?


  • tokens994tokens994 Member
    edited March 11

    Ive actually asked the same question on stack overflow question 66536851 just in case something pops up there.
    It looks like a bug with the binding. is the bug report.
    Sorry for the dodgy DIY links.. my first post on here trying to be helpful!

Sign In or Register to comment.