I want to write a program that will offer a choice of equations & then calculate the answer. The data required varies, to the point of requiring a screen per equation in order to make it usable.
e.g.
Equation 1: Variables: Height. Width. Length
Calculation 1: Display calculated volume
Equation 2: Variables: Speed. Time
Calculation 2: Display calculated distance
As you can tell, this will require multiple screens to be displayed for the user.
I seem to have the options of:
- Making a series of stand alone activities, with a launcher activity acting as broker
- Using one activity. Deleting all of the views & loading a new layout to match each equation
- Using a panel per equation, creating these as I go or all at the program launch & then hiding them until they need to be displayed
- Using one panel - deleting everything & loading layouts as required.
I've probably missed the best option
Before I plough into doing this the hard (trial & error) way, does anyone have a suggestion for the best way to handle this??