FrayxRulez / SwipeListView

A ListView with swipe handling like the one in new Outlook Mail app for Windows 10.
MIT License
99 stars 29 forks source link

Using control on desktop #1

Open ameno- opened 9 years ago

ameno- commented 9 years ago

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.

byrialsen commented 9 years ago

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

Maybee I am just missing something

FrayxRulez commented 9 years ago

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.

byrialsen commented 9 years ago

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.

ameno- commented 9 years ago

I'll try this approach on the demo project.

byrialsen commented 8 years ago

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

kinju4374 commented 8 years ago

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?

dnxit commented 8 years ago

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

kinju4374 commented 8 years ago

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.