I hope you All understand with my case. For example, I have 3 food to cook :
{
"response": [{
"food": "burger"
},
{
"food": "pizza"
},
{
"food": "potato fried"
}]
}
I put the food in a List. When one food click, there will another Activity. In this Activity there are two button Start and Stop. I want to know :
- How to handle every
Stopbutton cannot click untilStartbutton clicked. But when the App let sayForce Stopmanually by user, the session of Buttons still there.
I have many many many Food in my App and I think to save the Session in Shared Preference will take more effort. Is there any way to do this? Or Shared Preferences is a must in my case? I need an Advice the way which better for my App perfomance. Thanks in Advance