Hello everyone! I'm trying to create an app that is needed to insert names and each one individually has numbers after it, sort of like "Angelo 250". The information will be displayed on a ListView, I need to save the name plus the numbers, in another screen when they press "Angelo 250" and "Maria 300" It will sum 250+300. Can anyone help me out with this?
After doing it, in other Screen it will also display the same in a different ListView where if I press the product, I get only the calorie value to do a sum of total calories (calorie + calorie = totalcalories)
Dictionary can be used, where product as key and calorie as value. Since here product is unique as key would be and values/calories can be different or maybe same.
Hello Miguel, You might like to make your Second Screen a 'Virtual' Screen:
When we define virtual screens, we use one 'real' App Inventor Screen (most often Screen1). Screen-sized Vertical Arrangements on it are displayed/hidden as required - they are the Virtual Screens. This is generally a better approach for multi-screen Apps, they share data without having to "pass" it between screens and it also reduces code duplication, making the App more efficient and the code easier to follow if you have to return to it at a later date.
So, instead of separate "houses", virtual screens are "rooms" of the same "house".
For a Screenshot of your Blocks:
Right-mouse in the Blocks work area and select "Download Blocks as image"