Overview of Compose DND Features
mainCompose DND provides a comprehensive set of features for drag and drop interactions:
- Drag and Drop: Move items between locations and onto targets.
- Reorder Lists: Rearrange items within a list.
- Auto Scroll: Automatic scrolling when dragging near container edges.
- Drop Strategies: Built-in logic to determine which target receives an item.
- Drag Handle: Restrict dragging to a specific part of an item.
- Axis Lock: Constrain movement to horizontal or vertical axes.
- Conditional Drop: Filter which targets accept specific items.
- Drop Animation: Spring-based animations for smooth drops.
- Custom Drag Shadow: Use a custom Composable as the visual representation during dragging.
- Enable/Disable: Toggle functionality at the container or individual item level.