SwipeListView icon indicating copy to clipboard operation
SwipeListView copied to clipboard

Using control on desktop

Open ameno- opened this issue 9 years ago • 8 comments

I've been trying to adapt this control for use on the desktop (rt) but something seems to be conflicting with the listView's scrollView and I am unable to scroll my listView or swipe on an item (swipe event never fires).

I've also seen this same thing occur when attempting to capture manipulation events on a listView for desktop.

ameno- avatar Jul 28 '15 16:07 ameno-

Does the control at all work on UWP Desktop? The demo doesn't seem to work?

Maybee I am just missing something

byrialsen avatar Nov 07 '15 00:11 byrialsen

Swipe is enabled only when using touchscreen. On desktop you have to usd something like buttons, but my control doesn't handle this. What you can do is create a UserControl and override his OnPointer* methods and check if you want to show buttons or not. Then you can place it in your ItemTemplate. I'll try to add this in demo project asap.

FrayxRulez avatar Nov 07 '15 03:11 FrayxRulez

Hi. Ofcouse it will work with touch screen only. This is the way to do it :-). Extension of the demo with an example of how to handle desktop or similar will be very nice. Thanks in advance.

byrialsen avatar Nov 07 '15 18:11 byrialsen

I'll try this approach on the demo project.

ameno- avatar Nov 08 '15 04:11 ameno-

Hi again. Just want to hear if there are any progress in the demo. Just asking friendly:-)

byrialsen avatar Dec 03 '15 23:12 byrialsen

Hi, I don't want to give full swipe options like delete and flag available in Outlook mail. I want to give 2 options on both when user swipes and when he clicks on any of them some action should take place. Is it possible with this control?

kinju4374 avatar Mar 10 '16 05:03 kinju4374

I'm using this nuget package its better with multiple options https://github.com/brookshi/LLMListView

Swipe Left/Right with one action Swipe Left/Right with one action with animation Swipe Right with fixed and multiple actions

some extras

Pull to refresh Pull with a button Load More Load More in Group view

here is a screenshot https://raw.githubusercontent.com/brookshi/LLMListView/master/list%20view.gif

dnxit avatar May 09 '16 05:05 dnxit

Can we add Swipe Left with fixed and multiple actions ? I have 6 actions and I want to show 3 on left side and 3 on right side.

kinju4374 avatar May 09 '16 06:05 kinju4374