public interface UICollectionViewDropPlaceholderContext extends UIDragAnimating
| Modifier and Type | Interface and Description |
|---|---|
static interface |
UICollectionViewDropPlaceholderContext.Block_commitInsertionWithDataSourceUpdates |
UIDragAnimating.Block_addAnimations, UIDragAnimating.Block_addCompletion| Modifier and Type | Method and Description |
|---|---|
boolean |
commitInsertionWithDataSourceUpdates(UICollectionViewDropPlaceholderContext.Block_commitInsertionWithDataSourceUpdates dataSourceUpdates)
Exchange the placeholder for the final cell.
|
boolean |
deletePlaceholder()
If the placeholder is no longer needed or you wish to manually insert a cell for the drop data, you can
remove the placeholder via this method.
|
UIDragItem |
dragItem()
Retrieve drop data from the dragItem's itemProvider.
|
void |
setNeedsCellUpdate()
Call this method to request an update of the placeholder cell's content via the updateCellHandler.
|
addAnimations, addCompletionboolean commitInsertionWithDataSourceUpdates(UICollectionViewDropPlaceholderContext.Block_commitInsertionWithDataSourceUpdates dataSourceUpdates)
boolean deletePlaceholder()
UIDragItem dragItem()
void setNeedsCellUpdate()