Creating history of inputs


#1

Hey guys, I could use some help. Im developing an app that will keep track of the liquids u drink daily, im having trouble creating a simple history list of entries, i have an AddLiquid page where user selects liquid, types in ammount he drank and i need to save it to an array which will be displayed below each time he drinks again. On each list item I want it to display time and type of liquid on left and amount drank on right, any idea how should i work with this array ? I tried using arrTuple but that didnt look nice and im stuck with making array of objects for each list item.

it should look something like this: https://gyazo.com/ee9617412f8d43f9d169edfec8a5468d


#2

Google for one of the many “Todo List” tutorials for Ionic 2/3. They mostly work like what you described, you will only have to add some fields and maybe data persistence.