This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Bookmarks UI * Fixed crash when scrolling
- Loading branch information
1 parent
1e0af3e
commit 357f7e1
Showing
39 changed files
with
975 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
app/src/common/shared/org/mozilla/vrbrowser/ui/callbacks/BookmarkClickCallback.java
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
app/src/common/shared/org/mozilla/vrbrowser/ui/callbacks/BookmarkItemCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.mozilla.vrbrowser.ui.callbacks; | ||
|
||
import android.view.View; | ||
|
||
import mozilla.components.concept.storage.BookmarkNode; | ||
|
||
public interface BookmarkItemCallback { | ||
void onClick(View view, BookmarkNode item); | ||
void onDelete(View view, BookmarkNode item); | ||
void onMore(View view, BookmarkNode item); | ||
} |
12 changes: 12 additions & 0 deletions
12
app/src/common/shared/org/mozilla/vrbrowser/ui/callbacks/BookmarksCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.mozilla.vrbrowser.ui.callbacks; | ||
|
||
import android.view.View; | ||
|
||
import androidx.annotation.NonNull; | ||
|
||
import mozilla.components.concept.storage.BookmarkNode; | ||
|
||
public interface BookmarksCallback { | ||
void onClearBookmarks(@NonNull View view); | ||
void onShowContextMenu(@NonNull View view, BookmarkNode item, boolean isLastVisibleItem); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
...common/shared/org/mozilla/vrbrowser/ui/callbacks/HistoryItemContextMenuClickCallback.java
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...common/shared/org/mozilla/vrbrowser/ui/callbacks/LibraryItemContextMenuClickCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.mozilla.vrbrowser.ui.callbacks; | ||
|
||
import org.mozilla.vrbrowser.ui.views.LibraryItemContextMenu; | ||
|
||
public interface LibraryItemContextMenuClickCallback { | ||
void onOpenInNewWindowClick(LibraryItemContextMenu.LibraryContextMenuItem item); | ||
void onAddToBookmarks(LibraryItemContextMenu.LibraryContextMenuItem item); | ||
void onRemoveFromBookmarks(LibraryItemContextMenu.LibraryContextMenuItem item); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.