I'm not sure how to use the parameters of startDragAndDrop(). Here 's what I know:
Clipdatadata- not important, just create an empty clipdata object and pass it inDragShadowBuildershadowBuilder- the DragShadow of the view you are about to drag, as the name suggestsObjectmyLocalState- I have no idea what this is and what to pass in?intflags- just set it to0. Could be useful if you are to drag your view from one application to another for example
So my problem is primarily with Object myLocalState. What could be achieved with the state, could someone give an example?