Horizontal SfListView not catching Horizontal scroll on Android (iOS is working fine)

Hello SyncFusion team,

Still on the same App that use (cf: NavigationDrawer in SfTabView):

Page > SfNavigationDrawer (Swiping is disabled)
     - Content : 
          SfTabView >
               Tab1
               Tab2
               Tab3 >
                    ListView >
                         CustomCell containing SfListView with Orientation="Horizontal"

on iOS > Scrolling horizontally is working great : SfTabView is not catching horizontal scrolling and so, SfListView is working great.
on Android > Scroll event is never catched by Horizontal SfListView :
          - If I scroll right to left, on tab3, it should at least scroll).
          - If I scroll left to right, on tab3, it goes back to tab2.

So, I need this horizontal SfListView to be scrollable.
Is there a known bug/workaround for this behavior ?

Regards,

Cyril                                                                                                              

3 Replies

CY Cyril October 10, 2018 08:53 AM UTC

Here is a test projet to show that it's ok on iOS, and not on Android.

Attachment: HListViewinListView_5d45b9d7.zip


CY Cyril October 12, 2018 10:57 AM UTC

Up Please


RS Rawoof Sharief Muthuja Sherif Syncfusion Team October 15, 2018 12:39 PM UTC

 
Thanks for using Syncfusion products. 
 
We have checked the reported query “Horizontal SfListView scrolling is not working when loaded the nested list view inside the SfTabView” from our end. We have replicated the issue in simple sample by loaded the scrollview inside it. The reported issue due to the touch is not passed to the listview due to the framework behavior. We have found a workaround to solve the issue partially. In our sample we have find the scrolled x position and change the EnableSwiping property of the SfTabView when reach the start and end position which resolves the reported issue. 
 
Note: PanGesture for the listview and tabview is happen simultaneously, So the touch will be handled initially by the parent element so to pass the gesture for the child element you need to hold and scroll the listview item for the first time, then only the touch will be handled by the inner listview. 
 
For your reference we have attached the sample and you can download it from the below link. 
 
 
Tested device details: 
 
Device: Mi A1  
Android version : 8.1.0 
Xamarin Android SDK version : 9.0.0.19 
Visual studio version : 15.8.6 
SfListView and SfTabView : 16.3.0.21 
Xamarin.Forms : 3.2.0.839982 
 
Please let us know if you require further assistance on this. 
 
Regards, 
Rawoof M. 
 
 
 


Loader.
Up arrow icon