pambsoftware / beefcake

Training planner and logger for Android
1 stars 0 forks source link

Typed values are not stored when changing to settings dialog #5

Open windmueller opened 9 years ago

windmueller commented 9 years ago

When I enter a weight before finishing a set and then leave the view (e.g. open settings), this value has not been stored when returning to the current set.

pambsoftware commented 9 years ago

Slightly complicated since you could have changed the preload data setting (unlikely but possible) while being away. Also probably only wants to remember this for the current workout (which I think you already assumed). We could remember the values for a certain time (say 2min) and if returning within that we use them (if preload data hasn't changed). Also we would only remember one exercise's values to simplify things.

windmueller commented 9 years ago

I vote against the timeout. Just remember the values for one exercise only and clear them if the preload data changed.