mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
60f4606fbe
The behaviour of switching to an already opened tab for an item in the stream list was already in place, this patch just modifies the item's layout by adding a text hint about this possibility - "Switch to tab", dynamically, depending on if a tab is already opened or not in the current session. Each stream item will implement `Tabs.OnTabsChangedListener` and check if the changed Tab had stream's Url. If so it will pass this event to the list's Adapter which will refresh the stream item's layout. Differential Revision: https://phabricator.services.mozilla.com/D18997 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
android | ||
locales |