990f76ea83a249cd8fc3c797e40626b94cd7945c |
|
16-Sep-2016 |
Steve McKay <smckay@google.com> |
Lifetime of FragmentTuners scoped to activity. Add support for resetting with new state from directory fragment. Update Model to use an EventListener. Eliminate documentPick handling from base activity and directory fragment... Plum document picking directly from UserInputHandler to FragmentTuner instances. Add new EventHandler internface (returns void, more semantic meaning that Consumer<T>). Replace ModelUpdateListener interface with EventHandler. Make DocumentAdapters return EventHandler<Model.Update> instead of implementing ModelUpdateListener. Move Activity specific FragmentTuner impls along side respective activities. Change-Id: Ia6a5ab00ede685f7418773ed865d8c51e4125330
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/TestEventListener.java
|