When I render a ListView in NativeScript, I get more rows than I have data. Is there a way to control this? I would like to see the minimum number of rows required to display my data.
 <Page xmlns="http://www.nativescript.org/tns.xsd"
       loaded="load">
  <ListView items="{{ data }}">
    <ListView.itemTemplate>
      <Button text="{{ name }}" tap="{{ action }}"/>
    </ListView.itemTemplate>
  </ListView>
</Page>
 
    