Skip to content

FirestorePagingAdapter setSnapshotArray #1750

Closed
@VincentJoshuaET

Description

@VincentJoshuaET

Currently, I am using FirestoreRecyclerAdapter on my RecyclerViews to save their scroll positions upon fragment destroy (I use Android Jetpack Navigation Components).

This is how I do it: https://proandroiddev.com/fui-rv-state-a66833c3bb88

I want to switch to FirestorePagingAdapter to improve the performance of my app, but it seems that I cannot save my recyclerview's scroll positions because FirestorePagingAdapter always queries for the data upon start.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions