Skip to content

andresogc/carousel

Repository files navigation

carousel

Carousel in react native con buttons

How to run the application.

The application can be run directly on your mobile device or in a virtual machine. To run on the mobile device, it must have USB debugging enabled and it must be connected via USB to your computer. To run in a virtual machine, make sure you have a virtual machine created.

Then continue with the following steps:

  1. Download the project on your local computer.
  2. Open the command console and go to the project path.
  3. Now run the 'npm install' command to install the necessary dependencies.
  4. Then run the npx react-native run-android command.
  5. Now you can see the application on the device.

Functionality:

This app is a carousel with three slides, the slides change automatically every 8 seconds. It also has buttons to change the slide. One button to scroll left and the other to scroll right. If we are in the last slider we will not be able to move further to the right, And the same if we are in the first slider, they will not be able to move to the left. The position of the slide is preserved with local storage, so when you close the application and open it again, the slide will be displayed according to the stored position.

The following is a demonstration:

https://www.youtube.com/watch?v=zJn9vy4Fijs&ab_channel=CanalREDM%C3%81STV

About

Carousel in react native con buttons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published