Move delete support into base ActionHandler.
Introduce an "Addons" interface that describes all of the extra stuff we expose in our concrete Activities allowing us to write test doubles for our Activities. Add new "ui" package for UI specific stuff like: Introduce DialogController, isolating dialog business in a separate class (that can be easily replaced with a double) Move delete confirmation and snackbar-error reporting into this class. Introduce a Messages class for building messages, but isolated from implementation details. Add test for delete logic in ActionHandler (now that the code is unit-testable.) Introduce new ClipStore interface to improve testability of code that depends on clip storage...but in this CL we don't yet cover any of that. Decouple all ActionHandler impls from their Change-Id: Ic1449e501c855cdb72bf7666f4b67b9a9e9c1b49
Loading
Please register or sign in to comment