Paging Compile Issue : Not sure how to convert a Cursor to this method's return type
问题 I have been try to implemented the Paging Library with Room provided by google in Android Architecture Component.But its showing compile time error in my UserDao Class Here is the Error: Error:(22, 42) error: Not sure how to convert a Cursor to this method's return type My Question is what return Type ? UserDao.java @Dao public interface UserDao { @Query("SELECT * FROM user") LiveData<List<User>> getAll(); //Compile Error is here : Not sure how to convert a Cursor to this method's return type