Giter Site home page Giter Site logo

Comments (8)

shenbengit avatar shenbengit commented on June 4, 2024 1

@giantbing 问题已经复现了,原因是Glide在加载图片时偶发导致了LayoutManager.onMeasure()->LayoutManager.onLayoutChildren()被调用。目前的解决方案请尝试先固定ImageView的宽高,或Glide加载时指定宽高,我将在下个版本修复这个问题。

from pagergridlayoutmanager.

shenbengit avatar shenbengit commented on June 4, 2024

请具体说明复现过程。

from pagergridlayoutmanager.

giantbing avatar giantbing commented on June 4, 2024

在adapter中使用了glide 加载网络图片时 可复现此问题

from pagergridlayoutmanager.

shenbengit avatar shenbengit commented on June 4, 2024

好的 我测试一下

from pagergridlayoutmanager.

shenbengit avatar shenbengit commented on June 4, 2024

bumptech/glide#2373

from pagergridlayoutmanager.

duanjiao-a avatar duanjiao-a commented on June 4, 2024

我在recyclerView中指定了宽高,但是没有效果。仍然会复现此问题

from pagergridlayoutmanager.

shenbengit avatar shenbengit commented on June 4, 2024

不是RecyclerView的宽高,是item layout 中ImageView的宽高。可以看下GlideActivity

from pagergridlayoutmanager.

shenbengit avatar shenbengit commented on June 4, 2024

fixed. v1.1.3

from pagergridlayoutmanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.