Hello, I am using alloy framework and I fill tableView with dataCollection. Im using sdk 3.2. I have 2 tableViews. first is parrent table and another child. So in parent table I want to have a field which describes quantity of the rows in child table. For example something like this: 8/5. the first number (8) is the quantity of all the rows in child table, and second number(5) is number of rows in child table which are selected. Can you give me any advice? Thank you in advance.
> for now I have a string field in db like (8/0). than I am substring it and getting second number (0). than converting it into integer. and when the row is clicked I just add to the integer one(integer++). than I am making new string and saving it to db. I know this is very bad practice, and I think there is a much more better way.