Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Paging : Not sure how to convert a Cursor to this method's return type #198

@burhanrashid52

Description

@burhanrashid52

I 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions