Closed
Bug 1299224
Opened 8 years ago
Closed 8 years ago
Add click support to AS topsites
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect, P1)
Firefox for Android Graveyard
Awesomescreen
Tracking
(firefox51 fixed)
RESOLVED
FIXED
Firefox 51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: ahunt, Assigned: ahunt)
References
Details
(Whiteboard: [MobileAS])
Attachments
(2 files)
Clicking on TopSites does nothing right now.
We need to:
1 - add OnUrlOpenListener plumbing to ActivityStream
2 - hook the topsites view up to open pages when selected
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ahunt
Whiteboard: [MobileAS]
Assignee | ||
Updated•8 years ago
|
Priority: -- → P1
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Status: NEW → ASSIGNED
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8786907 [details]
Bug 1299224 - Pre: remove unnecessary LoaderManager reference from StreamAdapter
https://reviewboard.mozilla.org/r/75780/#review73922
::: mobile/android/base/java/org/mozilla/gecko/home/activitystream/ActivityStream.java:22
(Diff revision 1)
> -import org.mozilla.gecko.home.HomeFragment;
> -import org.mozilla.gecko.home.HomeScreen;
> import org.mozilla.gecko.home.SimpleCursorLoader;
> import org.mozilla.gecko.home.activitystream.topsites.TopSitesPagerAdapter;
>
> public class ActivityStream extends FrameLayout {
Unrelated: Didn't we want to rename this so that we do not have two classes named "ActivityStream"?
::: mobile/android/base/java/org/mozilla/gecko/home/activitystream/ActivityStream.java:40
(Diff revision 1)
> RecyclerView rv = (RecyclerView) findViewById(R.id.activity_stream_main_recyclerview);
>
> - // TODO: we need to retrieve BrowserApp and pass it in as onUrlOpenListener. That will
> - // be simpler once we're a HomeFragment, but isn't so simple while we're still a View.
> - adapter = new StreamRecyclerAdapter(lm, null);
> rv.setAdapter(adapter);
> rv.setLayoutManager(new LinearLayoutManager(getContext()));
> rv.setHasFixedSize(true);
Can't you do those assignments in the constructor too? inflate() should return the inflated view on which you can call findViewById().
Attachment #8786907 -
Flags: review?(s.kaspari) → review+
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8786908 [details]
Bug 1299224 - pass OnUrlOpenListener into StreamRecyclerAdapter
https://reviewboard.mozilla.org/r/75782/#review73930
Attachment #8786908 -
Flags: review?(s.kaspari) → review+
Assignee | ||
Comment 5•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/35b31a0d906aa6d618feb11592aaa5aec924db49
Bug 1299224 - Pre: remove unnecessary LoaderManager reference from StreamAdapter r=sebastian
https://hg.mozilla.org/integration/fx-team/rev/3d376f300eac2ed52d331a47b4608c7719013bae
Bug 1299224 - pass OnUrlOpenListener into StreamRecyclerAdapter r=sebastian
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/35b31a0d906a
https://hg.mozilla.org/mozilla-central/rev/3d376f300eac
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Updated•8 years ago
|
Iteration: --- → 1.3
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•