Reputation: 1
I am having a problem with defining LiveData in DAO AndroidX Xamarin
I have added the AndroidX lifecycle LiveData nugets. I get CS0308 The non generic type LiveData cannot be used with Type arguments
[Query(Value = "SELECT * FROM note_table ORDER BY priority DESC")] LiveData<List<Note>> GetAllNotes();
Any advice on how to fix this?
I searched everywhere for a solution. Tried the CrossPlatform plugin described here: CrossplatformLiveData
Upvotes: 0
Views: 66