03. Create Vehicles - ParkA-org/ParkA-MobileApp GitHub Wiki
Create vehicle
Vehicle Page
In the vehicle page the user can see all the vehicles created in his account and eventually crete new vehicles.
To create a new vehicle a simple tap on the + plus button is requeired.
The user will navigate to the form to create a new vehicle linked to his account.
Add main image
To add a main picture of the vehicle, simple tap in the main image placeholder is requeired.
The gallerry of the device will open and the user will be able to choose one image as the main picture of the vehicle.
Add secondary image
The user will be able to add more images if he wants to.
As for the main picture, a simple tap on the image placeholder will open the gallery and he will be able to choose a picture to link to the vehicle.
If an image is to be removed, with a long press on the chosen image will open a pop up asking the user if he wants to remove that image.
Vehicle data
Once the images are selected, the user has to fill the information about the vehicle itself by providing brand name, model year and eventually and an alias that is a name used to identify the vehicle.
Dropdown picker
Some fields to be filled are pickers from which the user must choose a value.
When all the fields are filled, to add the vehicle, the user has to tap on the + button and wait until the process is completed.
Vehicle created
Once a vehicle is created, the user will be redirected to the vehicle page where he can see all the vehicles linked with his account.