XamarinItemTouchHelper icon indicating copy to clipboard operation
XamarinItemTouchHelper copied to clipboard

updated libraries

Open NikasZalias opened this issue 8 years ago • 9 comments

Updated libraries, solution builds properly

NikasZalias avatar Oct 30 '17 13:10 NikasZalias

It need to target Android 8 to work. Did you check if the samples are still working?

martijn00 avatar Oct 30 '17 13:10 martijn00

Yeah samples still worked as before.. Only horizontal scroll works, vertical still no good

NikasZalias avatar Oct 30 '17 13:10 NikasZalias

Did you check the code to see if anything causes this bug?

martijn00 avatar Oct 30 '17 13:10 martijn00

Yeah, I tried to find something, but haven't found anything... still trying to figure it out, but since it's your code, maybe you could find it faster than me

NikasZalias avatar Oct 30 '17 13:10 NikasZalias

@martijn00 Have you managed to find the bug??

NikasZalias avatar Nov 02 '17 09:11 NikasZalias

@martijn00 I noticed that When I try to drag an item I get notified by this message "Start drag has been called but swiping is not enabled". But also I noticed that in RecyclerListAdapter class the overriden OnItemMove method is never called!

NikasZalias avatar Nov 02 '17 14:11 NikasZalias

I finally made it work... In SimpleItemTouchHelperCallback class I made variable swipeEnabled = false. Now I can drag and drop normally! Of course in my case I don't need swiping so maybe you could update your nuget with possibility to turn on/off swiping or dragging??

NikasZalias avatar Nov 02 '17 14:11 NikasZalias

Can you make a fix to add that?

martijn00 avatar Nov 02 '17 15:11 martijn00

Sorry.. after I posted last comment I saw that you actually can turn on/off drag or swipe.. so it's all good, but the problem is that when both are on you can't drag..

NikasZalias avatar Nov 02 '17 15:11 NikasZalias