'Paging and Join in Room
I want to use paging in room But I can not. Because I use multimap and it return map. When I use these technology together, I get this error :
error: Not sure how to convert a Cursor to this method's return type
Here is my code :
@Query("SELECT * FROM table_1 JOIN table_2 ON table_1.domain = table_2.domain)
DataSource.Factory<Integer, Map<Table1Entity, Table2Entity>> getAllData();
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
