How to get data from one screen to another?

I want to make an app which has a form on first screen which requires

  1. To fill name in textbox
    2)To fill date from date picker
    3)To Select a option from spinners

I want that when i click on a button all the data is saved on Screen2

I think I have to use TinyDB and List View

But not sure can someone help me
Thanks

yes, for that you have to use tinydb

1 Like

can you help me with the coding

maybe this can help you to save the data to listview

1 Like

Maybe I can help you :sweat_smile:

1 Like

This doesnt help me i cant figure out with spinner

Maybe you should learn how to use a spinner from here :
https://learn2c.org/2015/01/09/using-the-spinner-control-for-selecting-items/#:~:text=When%20your%20app%20needs%20the,choices%2C%20use%20the%20Spinner%20control.&text=Select%20the%20first%20Spinner%20control,%2C%20beef%20taco%2C%20vegan%20taco.

1 Like

Try to see the project I made, maybe it can help :
TinyDB_For_Learn.aia (4.6 KB)

1 Like

Your app is saving only one at a time i want that it gets added to the list (more than one)

image

you can use this block,
then store the list in tinyDB

1 Like

it is already added in the app which Salman_Dev sent but it is only saving one

have you tested it

1 Like

image

You mean this right?

1 Like

yes i had tested but it worked this time thanks

pls close the topic then

1 Like

You're welcome :+1:

1 Like

But it goes away when i click on it any solution

Here is my app till now it is for saving data of health insurance
Bimajagat.aia (23.2 KB)

so what do you want

1 Like

I want it to go away when i long press it maybe