Unplanned
Last Updated: 25 Jul 2019 08:33 by ADMIN
Dev
Created on: 25 Jun 2019 14:28
Category: SlideView
Type: Feature Request
0
Allow swipe gesture to propagate up if RadSlide cannot slide in the direction of the swipe

Request

Android follows a "bottom-up" approach to gesture/touch handling. It would be nice if the RadSlideView would allow any swipe gesture that it cannot handle itself to propagate upwards so that another view can have a chance to handle it.

Example

Given the following XAML:

<ParentView>
        <ParentView.GestureRecognizers>
            <SwipeGestureRecognizer Direction="Left"
                                    Command="{Binding ForwardCommand}" />
            <SwipeGestureRecognizer Direction="Right"
                                    Command="{Binding BackwardCommand}" />
        </ParentView.GestureRecognizers>

        <RadSlideView />
</ParentView>

Expectation:

  • When the user is at the beginning of the items in the RadSlideView and swipes right, then the BackwardCommand should execute. (The RadSlideView should detect that it is at the beginning of its item source and allow the right swipe gesture to propagate upwards to the ParentView.)
  • When the user is at the end of the items in the RadSlideView and swipes left, then the ForwardCommand should execute. (The RadSlideView should detect that it is at the end of its item source and allow the left swipe gesture to propagate upwards to the ParentView.)
2 comments
ADMIN
Yana
Posted on: 09 Jul 2019 07:47
Hello,

First, please take my apology for the delayed reply.

I agree this would be a useful feature, still our initial research does not guarantee that the required approach could be implemented with RadSlideView.  

I am leaving this feature request with status "Under Review", so we could track the demand and plan a more thorough research accordingly.

I've updated your points as a small sign of gratitude for your involvement on this.

Regards,
Yana
Progress Telerik
ADMIN
Yana
Posted on: 02 Jul 2019 14:18
Hello,

Š¢hank you for sending this feature request.

We're currently reviewing the described approach and whether it would be achievable with RadSlideView.  I will write back as soon as I have an update (in a day or two at latest).

Regards,
Yana
Progress Telerik