# PagingDataEvent.DropAppend

Artifact: [androidx.paging:paging-common](https://developer.android.com/jetpack/androidx/releases/paging) [View Source](https://cs.android.com/search?q=file:androidx/paging/PagingDataEvent.kt+class:androidx.paging.PagingDataEvent.DropAppend) Added in [3.3.0](https://developer.android.com/jetpack/androidx/releases/paging#3.3.0)

*** ** * ** ***


```
public final class PagingDataEvent.DropAppend<T extends Object> extends PagingDataEvent<@NonNull T>
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.paging.PagingDataEvent](https://developer.android.com/reference/androidx/paging/PagingDataEvent)\<@[NonNull](https://developer.android.com/reference/androidx/annotation/NonNull) T\> ||
|   | ↳ | [androidx.paging.PagingDataEvent.DropAppend](https://developer.android.com/reference/androidx/paging/PagingDataEvent.DropAppend) |

*** ** * ** ***

A drop event from the end of the list

## Summary

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/paging/PagingDataEvent.DropAppend#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final int` | `https://developer.android.com/reference/androidx/paging/PagingDataEvent.DropAppend#getDropCount()()` A count of items dropped from loaded items |
| `final int` | `https://developer.android.com/reference/androidx/paging/PagingDataEvent.DropAppend#getNewPlaceholdersAfter()()` The count of null items trailing the list of loaded data after items were dropped. |
| `final int` | `https://developer.android.com/reference/androidx/paging/PagingDataEvent.DropAppend#getOldPlaceholdersAfter()()` The count of null items trailing the list of loaded data prior to items being dropped. |
| `final int` | `https://developer.android.com/reference/androidx/paging/PagingDataEvent.DropAppend#getStartIndex()()` The first index where this drop is applied. |
| `int` | `https://developer.android.com/reference/androidx/paging/PagingDataEvent.DropAppend#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/paging/PagingDataEvent.DropAppend#toString()()` |

## Public methods

### equals

```
public boolean equals(Object other)
```

### getDropCount

Added in [3.3.0](https://developer.android.com/jetpack/androidx/releases/paging#3.3.0)

```
public final int getDropCount()
```

A count of items dropped from loaded items

### getNewPlaceholdersAfter

Added in [3.3.0](https://developer.android.com/jetpack/androidx/releases/paging#3.3.0)

```
public final int getNewPlaceholdersAfter()
```

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

### getOldPlaceholdersAfter

Added in [3.3.0](https://developer.android.com/jetpack/androidx/releases/paging#3.3.0)

```
public final int getOldPlaceholdersAfter()
```

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

### getStartIndex

Added in [3.3.0](https://developer.android.com/jetpack/androidx/releases/paging#3.3.0)

```
public final int getStartIndex()
```

The first index where this drop is applied. If placeholders are enabled, represents the index of the first dropped item that was replaced with a placeholder. Otherwise, it represents the index of where the first real item was dropped.

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```