Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

How do I proceed? General question on data storing and defining variables

$
0
0

Hi there,

I need a bit of advice on a project I am supposed to do.
The goal is to create an App that runs on Windows and Android that
allows the user to enter data (mainly int) which are then used to calculate points based on the entered data.

The requirements are the following:

  • Several numerical data should be entered by the user (not all data entry fields must be filled out only the onces that matter for the user).
  • In the back of the application, these data are then used to calculate further values which are displayed next to the entered data.
  • Once the user has come to the final page and several entry fields have been filled with numbers, a final point count should be displayed.
  • On the following page, depending on the data entered, a number of questions are displayed, adressing certain entries (sort of an adaptive Checklist page).
  • Often the use will have to switch back and forth between pages, the entered data should not be erased while switching back and forward.
  • Once everything is finished (data entry, point count, checklist), the entered data should be saved in some sort of .txt (to be reused by the app on demand) as well as PDF and all caluclations and entries should be erased.
    I already did this with Excel and VBA Makros, but now I am told to perform this in form of a more user friendly way.

So, I started to wrap my mind around C# and to get familiar with Xamarin forms.
So far I have all the pages where the data should be entered (Labels & Entry) in a Grid with all the grid properties set.
The navigation between the contant pages works as well. And finally I managed to pass data from one page to another.

But my biggest challange now is to store these data that the user enters in forms of variables that I can call from any other page to do the background calculations (the calculations are rather complex).
How do I do that? How can I define the variables? I've watched nearly every online tutorial...some create class pages other do all sorts of strange things.
I am completely lost and all the online tutorials as well as the two books that I`ve bought are useless for my simple mind it seems.

What is the right thing to do here?

Your help is massively appreciated!!

Cheers,
Ulli


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>