1
0
Fork 0
fenix/app/src/main/java/org/mozilla/fenix/library/bookmarks
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
..
addfolder For #4341 use camelCase for views referenced from code 2019-08-03 09:25:55 -07:00
edit For #4341 use camelCase for views referenced from code 2019-08-03 09:25:55 -07:00
selectfolder Closes #4396 - Add a Bookmarks Controller (#4593) 2019-08-19 08:34:57 -07:00
viewholders Closes #4396 - Add a Bookmarks Controller (#4593) 2019-08-19 08:34:57 -07:00
BookmarkAdapter.kt For #4026 - Update BookmarkDiffUtil to update on Title or URL change 2019-08-07 00:37:16 -04:00
BookmarkController.kt Closes #4396 - Add a Bookmarks Controller (#4593) 2019-08-19 08:34:57 -07:00
BookmarkFragment.kt Closes #4396 - Add a Bookmarks Controller (#4593) 2019-08-19 08:34:57 -07:00
BookmarkFragmentInteractor.kt Closes #4396 - Add a Bookmarks Controller (#4593) 2019-08-19 08:34:57 -07:00
BookmarkItemMenu.kt Fixes #2379 - Generic library selection 2019-08-06 11:10:50 -07:00
BookmarkStore.kt Issue #2379 - Use LibraryPageView in history 2019-08-01 15:59:55 -04:00
BookmarkView.kt Closes #4396 - Add a Bookmarks Controller (#4593) 2019-08-19 08:34:57 -07:00
BookmarksSharedViewModel.kt For #4128: Migrate Bookmarks to LibState (#4254) 2019-07-25 21:55:51 -05:00
SignInView.kt Closes #4396 - Add a Bookmarks Controller (#4593) 2019-08-19 08:34:57 -07:00