Comments (6)
You need to BoardView::getHeaderView(int column), that will be a custom view which you have defined yourself. So then you need to find the title in that view yourself with findViewById.
from draglistview.
If you implement the BoardListener then you will get a lot of different events when you drag and drop items.
BoardView::setBoardListener
from draglistview.
i have implemented the listener ,how can i get the entire object of the particular item which is selected for dragging like the id,name,type after the drag ended etc
from draglistview.
you will get a call to void onItemDragEnded(int fromColumn, int fromRow, int toColumn, int toRow); then you need to used that information to fetch the correct object in the new adapter.
from draglistview.
Thank You ,One last thing can u please share how can i get the particular column title of which the item is been dragged into particular column. i want the title of the particular column
from draglistview.
You need to BoardView::getHeaderView(int column), that will be a custom view which you have defined yourself. So then you need to find the title in that view yourself with findViewById.
Thank You so much for your time Cheers...!
from draglistview.
Related Issues (20)
- Setting Different items for different column's HOT 2
- Local Search Filter HOT 2
- Possiblity to add columss dynamicly when dragging item between 2 colums in BoardView HOT 1
- CRASH - Inconsistency detected. Invalid item position 0(offset:-1).state:2 com.woxthebox.draglistview.DragItemRecyclerView HOT 6
- Cant move items/columns vertically, only horizontally
- Background drawable for whole column HOT 2
- Drag properly works but arrangement not working properly, what should I do? HOT 2
- Why drag items in 2nd Column gets distorted? HOT 2
- Return the item to its place if the user dragged it to another column. HOT 5
- Make Autoscroller class public HOT 3
- Group item inside List HOT 1
- How to restrict items to drop at specific position in canDropItemAtPosition() method. HOT 1
- Is this possible to Drop item at empty column HOT 2
- Two columns on the screen HOT 2
- Render Problem HOT 4
- Can we open byDefault column three or two HOT 1
- list view dragging not working HOT 1
- I would like to see the ability to remove an item from the list by dragging and dropping. HOT 1
- Would it be possible to have the ability to move columns using the BoardView function? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from draglistview.