blonsky95 / DigiCoachAndroid

0 stars 0 forks source link

1.0.15 in calendar when you open results there is a checkbox to say you did it without the necessity of creating the whole result #68

Closed blonsky95 closed 4 years ago

blonsky95 commented 4 years ago

That

blonsky95 commented 4 years ago

OKkkkkkkkkkkkkkkkkkkkkkkkkkk Well, what we want here is that from the weekviewer you can tap on the exercise (DONE) and either mark a checkbox or something to say its done, or enter an optional result! think this!

blonsky95 commented 4 years ago

when press delete in result it takes you to results creator even if in calednar - fix this

blonsky95 commented 4 years ago

DONE button thing working, been playing around with visibility, added a default parameter to hide or not when toggling the expand on the item holder collapsible layout. It is only shown when there is no result and when in calendar. Not if it already has a result or if checking results on Exercise Creator.

Also the adapter is using the context in the parameter from the fragment, but the context from the fragment is the parent activity so as long as I cast in the adapter the context as the parent activity I can call a method in the activity which is now "updateBlankResult(exercise)" with a default resultHashMap - actually will make this a method in exerciseResults

Close this when I finish what I said in previous comment

Needs a UI touch probs

blonsky95 commented 4 years ago

bug fixed also fixed that when in week viewer and pressing back it would restore the calednar state with the day you selected but now all selection is cleared in MonthViewer OnResume.