Closed setyotontowi closed 2 years ago
Update 1 between DayFragment and HistoryFragment delete and update label, they call same method on viewmodel. But on DayFragment, they can update the view simultaneously. While on History, they can't
Task with label observed when item in history changed perhaps triggered as in day with page 1
What have I learned
livedata on room when updated, also observing jt changes, then you don't have to get all data again when update
When update checklist on history, do not notifydataset. the position refresh to the top.