【发布时间】:2019-06-30 02:23:57
【问题描述】:
您好,我正在使用 NativeScript-Angular 为 iOS 和 Android 开发应用程序。我使用RadListView 插件创建了水平ListView。一切正常,但滚动指示器并没有隐藏在 iOS 中。
在 Android 中,滚动指示器是隐藏的。如何在 iOS 中解决此问题?
我的 HTML 文件:
<RadListView row="0" selectionBehavior="Press" (itemSelected)="onItemSelected($event)" #menurad class="m-t-10" row="0" height="50" [items]="allMenuList">
<ng-template tkListItemTemplate let-themenu="item" let-i="index">
<StackLayout orientation="horizontal" (tap)="menuClick(i)" >
<Label class="Selected" [text]="themenu.menuName" ></Label>
<Label width="20"></Label>
</StackLayout>
</ng-template>
<ListViewLinearLayout tkListViewLayout scrollDirection="Horizontal"></ListViewLinearLayout>
</RadListView>
【问题讨论】:
-
既然你已经用
RadListView标记了这个,你能确认你使用的是哪个项目布局吗?示例代码可以让您更清楚地了解您到底在寻找什么。 -
好的,我会给你我的代码。
-
有什么解决办法吗? @Manoj
标签: nativescript nativescript-angular radlistview