I am trying to create a nested list view(parent horizontal scroll and children vertical scroll), which is working and looking perfect but as click on vertically present child item and navigates to new page and then comes back, the vertical scroll position is lost.
Here is my sample code:
<RadListView [items]="data" #parentRadlistview>
<ListViewLinearLayout tkListViewLayout scrollDirection="Horizontal" itemInsertAnimation="Default" itemDeleteAnimation="Default"></ListViewLinearLayout>
<ng-template tkListItemTemplate let-d="item" let-i="index">
<StackLayout orientation="vertical">
<RadListView [items]="d.list" class="radlistview-child" #childRadlistview>
<ListViewLinearLayout tkListViewLayout dynamicItemSize="false" scrollDirection="Vertical" itemInsertAnimation="Default" itemDeleteAnimation="Default"></ListViewLinearLayout>
<ng-template tkListItemTemplate let-course="item">
<label [text]="course.name"></label>
</ng-template>
</RadListView>
</StackLayout>
</ng-template>
It would be really helpful if anyone can guide me how to fix this.
PS: I can't use Tabview since the width I need for parent RadListView is lesser than the whole screen. And I can't use scrollview for horizontal scroll since it need to work like Tabview which I got working using RadListView only.
Thanks!