Tell me how best to do this?
2 answers
Perhaps there is a more elegant solution, but I personally only think of one option - to do everything through recyclerView. I understand that this is a super heavy and crooked decision, but personally I don’t see another yet. That is, you make one adapter, and three lists located in some linearLayout in a column. And in these lists you send data for each item in the list. This way you fill out three lists. And in order to preserve all values, I would suggest using sharedPreferences or database. To save, you can either click the "save" button or update the data when you click on +/-. I hope something from my answer will help in solving your problem. Good luck :)
Preference and the onBindView method to intercept the View are reloaded, the markup or programmatically points to the layout on the right android: widgetLayout , listeners are assigned, initialization takes place, etc.
