Closed zeroXbrock closed 8 years ago
Implementation used to fix this bug cause another bug... Find another solution.
Found it
lol more info: I implemented the button click adapter in the sessions fragment and send the event from the adapter to it when a weekday was selected. I store that info in the fragment while a session is being edited. Then when we reset the adapter, I pass a list of days of the week as a parameter to the adapter reset method, and then populate the items appropriately in the adapter on load.
Issue can be resolved by implementing the RecurringView's OnButtonClick (callback) method to update the session's weekdays in SessionsFragment's _sessions and the database. Copy a model from another edit callback in the fragment.