Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Issue 2827363002: 📰 Fix tile icon rendering issue in Chrome Home (Closed)

Created:
3 years, 8 months ago by dgn
Modified:
3 years, 8 months ago
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Suggestions] Fix tile icon rendering issue in Chrome Home Notifying the RecyclerView of item changes without providing a payload makes it create a new ViewHolder to replace the existing one. The code assumed the ViewHolder and the associated view are unique and ended up updating 2 different view alternatively, triggering the visual glitch. BUG=704130 Review-Url: https://codereview.chromium.org/2827363002 Cr-Commit-Position: refs/heads/master@{#466629} Committed: https://chromium.googlesource.com/chromium/src/+/de49e186e1af90c584ba9d1b263a8b7afd215a04

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase and address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -3 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/ChildNode.java View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/suggestions/TileGrid.java View 3 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
dgn
PTAL. This does not fix the issue completely, as when scrolling there seems to be ...
3 years, 8 months ago (2017-04-20 18:13:01 UTC) #4
Michael van Ouwerkerk
lgtm I wonder whether we should avoid reusing the views altogether. It has a speed ...
3 years, 8 months ago (2017-04-24 12:31:40 UTC) #8
dgn
Thanks! I think our current usage is within the contract of the RV, so it ...
3 years, 8 months ago (2017-04-24 13:51:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2827363002/20001
3 years, 8 months ago (2017-04-24 13:51:59 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 14:24:33 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/de49e186e1af90c584ba9d1b263a...

Powered by Google App Engine
This is Rietveld 408576698