Closed Bug 999483 Opened 8 years ago Closed 1 year ago

Allow pull-to-refresh from the panel's empty state

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect, P2)

All
Android
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: lucasr, Unassigned)

References

Details

Right now we only allow it when the panel has data.
Depends on: 977196
No longer depends on: 977196
Priority: -- → P2
Assignee: nobody → margaret.leibovic
Setting P2 hub bugs to block hub v2 EPIC bug (targeting fx31 release).

Filter on epic-hub-bugs.
Blocks: 1014030
I've been learning more about SwipeRefreshLayout while investigating bug 1010986, and in order to implement this bug, I think we would need to have the SwipeRefreshLayout manage the empty/list views. SwipeRefreshLayout can only have one child, so we would need to handle swaping the empty view and the panel layout.

If there's a way to disable the refresh animation for panels that don't have a refresh handler, I think it might be good to just make PanelLayout into a GeckoSwipeRefreshLayout, so that we don't have to maintain two different layout code paths.
I haven't had time to work on this.
Assignee: margaret.leibovic → nobody
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.