[ Web Proxy ]
URL:
Viewing: https://developer.android.com/reference/androidx/paging/PagingDataEvent.DropPrepend [Back]  [Original]

PagingDataEvent.DropPrepend  |  API reference  |  Android Developers Skip to main content
Essentials Design & Plan Develop Google Play Blog
Search:
Android Studio
Android Developers [Android Developers]
Stay organized with collections Save and categorize content based on your preferences.

PagingDataEvent.DropPrepend


public final class PagingDataEvent.DropPrepend<T extends Object> extends PagingDataEvent

java.lang.Object
    androidx.paging.PagingDataEvent
      androidx.paging.PagingDataEvent.DropPrepend

A drop event from the front of the list

Summary

Public methods

boolean
equals(Object other)
final int

A count of items dropped from loaded items

final int

The count of null items leading the list of loaded data after items were dropped.

final int

The count of null items leading the list of loaded data prior to items being dropped.

int
@NonNull String

Public methods

equals

public boolean equals(Object other)

getDropCount

Added in 3.3.0
public final int getDropCount()

A count of items dropped from loaded items

getNewPlaceholdersBefore

Added in 3.3.0
public final int getNewPlaceholdersBefore()

The count of null items leading the list of loaded data after items were dropped.

getOldPlaceholdersBefore

Added in 3.3.0
public final int getOldPlaceholdersBefore()

The count of null items leading the list of loaded data prior to items being dropped.

hashCode

public int hashCode()

toString

public @NonNull String toString()

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-06-24 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-24 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page