Giter Site home page Giter Site logo

闪一下 about ybimagebrowser HOT 4 CLOSED

indulgein avatar indulgein commented on May 24, 2024
闪一下

from ybimagebrowser.

Comments (4)

ChandHsu avatar ChandHsu commented on May 24, 2024

是的,闪一下看着很不舒服

from ybimagebrowser.

indulgeIn avatar indulgeIn commented on May 24, 2024

@CoderSimonWong @ChandHsu 在转场进入图片浏览器时,若传递了点击对应的imageview会有一个转场动效,但是转场结束过后,由于没有缩约图屏幕会变黑,加载过快导致会有闪一下的视觉效果。

所以解决方案之一就是为点击入场的那个 YBImageBrowserModel 设置缩约图(当然给所有都设置缩略图会避免出现加载图片时背景变黑只有一个加载指示器的情况)。

解决方案之二是要改组件代码了,因为若传递了点击对应的imageview实际上已经可以拿到入场的这个缩略图了。不过作者最近比较忙,后续会做重构和迭代,所以用第一种方案解决吧。

from ybimagebrowser.

indulgeIn avatar indulgeIn commented on May 24, 2024

2.0 重做版本已更新 新版本设置了sourceobject不需设置缩略图

from ybimagebrowser.

1xiaocainiao avatar 1xiaocainiao commented on May 24, 2024

2.0 重做版本已更新 新版本设置了sourceobject不需设置缩略图

第一张图依然会闪烁一下,其他的就不会了

from ybimagebrowser.

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.