0
votes

I need to implement an image carousel with nativescript-angular2. I looked into most of the plugins, they don't seem to work for me. What is the best way to implement an image carousel? I need to implement something like this on my app.

 <StackLayout> 
    .......Image Carousel....... 
      <GridLayout>
          <Button>
          <Button>
          <Button>
          <Button>
      </GridLayout>
    </StackLayout>
2

2 Answers

1
votes

If the goal is to have images that are scrollable you can use the RadListView from the nativescript-telerik-ui plugin. That component is free and provides multiple features for showing "items" with custom template in all orientations, in different layouts (stack, grid with columns etc.), it has load on demand, pull to refresh and so on.

Here is the official documentation of that component, also you can find many sdk examples here.