Paging : Not sure how to convert a Cursor to this method's return type
See original GitHub issueI am getting error for LivePagedListProvider Return type while compiling
Error:(22, 58) error: Not sure how to convert a Cursor to this method’s return type
@Dao
public interface UserDao {
@Query("SELECT * FROM user")
public abstract LivePagedListProvider<Integer, User> getAllPagination();
}
How to resolve this issue i have setup everything correct as per the sample documentation
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Paging3: "Not sure how to convert a Cursor to this method's ...
Paging3: "Not sure how to convert a Cursor to this method's return type" when using PagingSource as return type in Room DAO.
Read more >Error: Not sure how to convert a Cursor to this method's return ...
Error: Not sure how to convert a Cursor to this method's return type. error: Not sure how to convert a Cursor to this...
Read more >Android : Room "Not sure how to convert a Cursor ... - YouTube
Android : Room " Not sure how to convert a Cursor to this method's return type ": which method ?
Read more >Java – Paging Compile Issue : Not sure how to convert a ...
Android – Room “Not sure how to convert a Cursor to this method's return type”: which method. Recently I've had the same problem...
Read more >Paging Compile Issue : Not sure how to convert a Cursor to ...
Coding example for the question Paging Compile Issue : Not sure how to convert a Cursor to this method's return type-android-Java.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
PagingSource was added in Room 2.3.0-alpha01+
i have the same problem with paging 3