Open Bug 999483 Opened 6 years ago Updated 6 years ago

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


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





(Reporter: lucasr, Unassigned)


(Blocks 2 open bugs)


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
You need to log in before you can comment on or make changes to this bug.