This question is locked. New answers and comments are not allowed.
Hello there, I am showing a Listview in a page in Nativescript, but I would like to show a fixed (non-scrollable) area just before the Listview, so while scrolling that area could be always visible. I have tried using this code but its not working:
<
StackLayout
>
<
Label
text
=
"Listview Header!!!"
/>
</
StackLayout
>
<
lv:RadListView
items
=
"{{ dataItems }}"
row
=
"1"
selectionBehavior
=
"Press"
itemSelected
=
"onItemSelected"
>
<
lv:RadListView.listViewLayout
>
<
lv:ListViewLinearLayout
scrollDirection
=
"Vertical"
/>
</
lv:RadListView.listViewLayout
>
<
lv:RadListView.itemTemplate
>
<
StackLayout
orientation
=
"vertical"
>
<
Label
fontSize
=
"20"
text
=
"{{ itemName }}"
/>
<
Label
fontSize
=
"14"
text
=
"{{ itemDescription }}"
/>
</
StackLayout
>
</
lv:RadListView.itemTemplate
>
</
lv:RadListView
>
Any idea please?
Thanks!