1
0
Fork 0
fenix/app/src/main/java/org/mozilla/fenix/library
Mugurell 645674c9bd Closes #4396 - Add a Bookmarks Controller (#4593)
* For #4396 - Rename BookmarkInteractor methods

Following the naming model used in other Interactors this too will use reactive
method names in the form of "on..." instead of the previous imperative model.

Kept the imperative naming model for the methods from `SelectionInteractor` as
they are a new addition and I'm not sure about the future direction.

* For #4396 - Add a BookmarkController

It abstracts the Fragment behavior in a contract through which various
Interactors can inform about the specific View changes and can ask for
modifications in their container Fragment.

This contract and it's implementation - `DefaultBookmarkController` are the
result of extracting the container Fragment's business logic from
`BookmarkFragmentInteractor` in it's own standalone component.

* For #4396 - Refactored Bookmark related tests

Added a new `BookmarkControllerTest` tests class which complements the new
`BookmarkController` to ensure that it properly operates on `BookmarkFragment`

Also refactored the existing `BookmarkFragmentInteractorTest` to accommodate
`BookmarkFragmentInteractor`'s now more specialized behavior.
2019-08-19 08:34:57 -07:00
..
bookmarks Closes #4396 - Add a Bookmarks Controller (#4593) 2019-08-19 08:34:57 -07:00
history Consodilate private browsing code 2019-08-09 11:00:41 -07:00
LibraryFragment.kt Fixes #4005 - Move getColorFromAttr to Context 2019-07-26 16:44:11 -04:00
LibraryListItem.kt No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
LibraryPageFragment.kt Consodilate private browsing code 2019-08-09 11:00:41 -07:00
LibraryPageView.kt Fix crash for bookmarks 2019-08-01 18:57:35 -04:00
LibrarySiteItemView.kt Fixes #2379 - Generic library selection 2019-08-06 11:10:50 -07:00