Download Home V2: Fix an issue that thumbnails are scaled to 0.
Currently the AsyncImageView starts to retrieve thumbnails when the view holders are binded before the actual layout happens, which results in the width and height in thumbnail requests to be 0. This CL delays the thumbnail request after the actual layout happens. Also uses centerCrop for image and video view holders. Bug: 890377 Change-Id: I98f3864027553614a40d8211ac72743e66929db5 Reviewed-on: https://chromium-review.googlesource.com/c/1255586 Commit-Queue: Xing Liu <xingliu@chromium.org> Reviewed-by:David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#595910}
Showing
Please register or sign in to comment