Closed Bug 1811923 Opened 3 years ago Closed 3 years ago

[Spike] Investigate how to remove the remaining flash in top sites

Categories

(Firefox for Android :: Top Sites, defect)

All
Android
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: jonalmeida, Unassigned)

Details

From github: https://github.com/mozilla-mobile/fenix/issues/15180.

Title

How to remove the short flash in all top sites when removing one.

Description

From the discussion in https://github.com/mozilla-mobile/fenix/pull/15126, we should investigate into generating stable IDs that can be used across the two data sources (pinned and frecent), and then use that for diff-ing the layout for DiffCallback.areItemsTheSame.

Deliverables

Description of deliverables, including:
Findings - Are the stable IDs enough to solve the problem?
Next Steps - If yes, fix it! Otherwise, create a new issue to look into reducing the complexity of the top sites nested adapters by writing a custom ViewPager or LayoutManager.

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

With the birth of Jetpack Compose, we should just re-write our top sites to use Compose instead of trying to reason with an outdated API for nested layouts.

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)

Closing as per comment 1.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(cpeterson)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.