Skip to content Skip to sidebar Skip to footer

Android Paging (3) Load All Pages At Once

I'm using the Android Paging 3 library in my project in order to load my data page by page. In this project, I'm not using database which means I'm using network only requests. The

Solution 1:

In my case, this recipeId data type was long, but when I changed it to string it works fine. Then, instead of NestedScrollView use SmartNestedScrollview

@Entity(tableName = "table_recipe")
data class RecipeList(
        @PrimaryKey
        @field:SerializedName("recipe_id") var recipeId : String,
        @field:SerializedName("title") var title: String? = null,
)

Post a Comment for "Android Paging (3) Load All Pages At Once"