Closed fankloano closed 3 months ago
Looks like you forgot to define the type as non nullable.
@fankloano any update here?
The problem in the question was solved making Tvchannelsadapter non nullable. But I had also problems implementing the other steps, but I had not much time. Will give it a other try next week.
Just as clarification: I call dragHelper.startDrag() (passing the current position of the selected Item as position) when I first press the enter/Center button on an Item, then I can simple move the Item up/down to the wanted position and press enter again - > calls dragHelper.stopDrag() and place the Item on the new position. Is this correct?
Is this correct?
Yes, that is correct. Will close the ticket in that case.
Hey Ruben,
just tried to implement Drag&Drop with your DragAdapter, so in my current ListAdapter I added:
But when I try to implement the DpadDragHelper I am already stuck.
where tvChannelsAdapter is red-underlined with:
Ehm sorry, but reading the documentation I can't understand what's the error? I checked also the sample but that's different to the documentation. (I am no experienced developer, maybe that's the reason I don't understand it..... :-) )