mirror of
https://github.com/AdrianKuta/Unbound-Drag-Drop.git
synced 2025-04-20 06:59:02 +02:00
Update README.md
This commit is contained in:
parent
7de448dc9b
commit
25a2a1bb5d
27
README.md
27
README.md
@ -1,20 +1,28 @@
|
|||||||
# Unbound Drag & Drop
|
# Unbound Drag & Drop
|
||||||
|
|
||||||
[](https://central.sonatype.com/artifact/dev.adriankuta/unbound-drag-drop)
|
[](https://central.sonatype.com/artifact/dev.adriankuta/unbound-drag-drop)
|
||||||
[](https://github.com/AdrianKuta/Unbound-Drag-Drop/blob/master/LICENSE)
|
[](https://github.com/AdrianKuta/Unbound-Drag-Drop/blob/master/LICENSE)
|
||||||
|
|
||||||
|
Unbound Drag & Drop is a versatile and user-friendly feature designed to enhance your Android
|
||||||
Unbound Drag & Drop is a versatile and user-friendly feature designed to enhance your Android applications by enabling drag and drop functionality across multiple RecyclerViews. Unlike the default behavior, which restricts drag and drop actions within a single RecyclerView, Unbound Drag & Drop allows users to seamlessly move items between different RecyclerViews, providing a more flexible and intuitive user experience.
|
applications by enabling drag and drop functionality across multiple RecyclerViews. Unlike the
|
||||||
|
default behavior, which restricts drag and drop actions within a single RecyclerView, Unbound Drag &
|
||||||
|
Drop allows users to seamlessly move items between different RecyclerViews, providing a more
|
||||||
|
flexible and intuitive user experience.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Multi-RecyclerView Drag and Drop**: Easily drag and drop items between multiple RecyclerViews.
|
- **Multi-RecyclerView Drag and Drop**: Easily drag and drop items between multiple RecyclerViews.
|
||||||
- **Customizable and Extensible**: Adapt the feature to fit your specific needs with customizable options and extensible components.
|
- **Customizable and Extensible**: Adapt the feature to fit your specific needs with customizable
|
||||||
- **Smooth and Intuitive User Experience**: Enhance the interactivity of your app with a user-friendly drag and drop interface.
|
options and extensible components.
|
||||||
- **Easy Integration**: Quickly integrate Unbound Drag & Drop into your existing Android projects with minimal setup.
|
- **Smooth and Intuitive User Experience**: Enhance the interactivity of your app with a
|
||||||
|
user-friendly drag and drop interface.
|
||||||
|
- **Easy Integration**: Quickly integrate Unbound Drag & Drop into your existing Android projects
|
||||||
|
with minimal setup.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
To include Unbound Drag & Drop in your project, add the following dependency to your build.gradle file:
|
To include Unbound Drag & Drop in your project, add the following dependency to your build.gradle
|
||||||
|
file:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
implementation("dev.adriankuta:unbound-drag-drop:0.0.2")
|
implementation("dev.adriankuta:unbound-drag-drop:0.0.2")
|
||||||
@ -55,14 +63,19 @@ class MyDragDropCallback : DragDropHelper.Callback() {
|
|||||||
|
|
||||||
In your Activity or Fragment, attach DragDropHelper to your RecyclerView.
|
In your Activity or Fragment, attach DragDropHelper to your RecyclerView.
|
||||||
|
|
||||||
```
|
```kotlin
|
||||||
val recyclerView: RecyclerView = findViewById(R.id.recycler_view)
|
val recyclerView: RecyclerView = findViewById(R.id.recycler_view)
|
||||||
val dragDropHelper = DragDropHelper(MyDragDropCallback())
|
val dragDropHelper = DragDropHelper(MyDragDropCallback())
|
||||||
dragDropHelper.attachToRecyclerView(recyclerView)
|
dragDropHelper.attachToRecyclerView(recyclerView)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
See example in `app` module.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the MIT License - see the LICENSE file for details.
|
This project is licensed under the MIT License - see the LICENSE file for details.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes.
|
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user