Optimistic Updates with RxKotlin and ItemTouchHelper (Android)

1 · Hootsuite · Aug. 27, 2018, 9:53 p.m.
One of the most frustrating and rewarding features I worked on during my co-op was reworking a settings page for users that featured drag-and-drop and optimistic updates. The problems that arose showed me the subtle complexities of such a feature. They also cautioned me to write simpler, readable (and ergo debuggable) code so design flaws are less often confused with technical bugs.General use case: Manage groups of ordered items, where individual items can be moved between groupsUser StoryAs an...