Coder Social home page Coder Social logo

Fragment切换statusbar about statusbarutil HOT 10 CLOSED

laobie avatar laobie commented on June 6, 2024
Fragment切换statusbar

from statusbarutil.

Comments (10)

YumikoAzu avatar YumikoAzu commented on June 6, 2024

试试fragment切换后 手动调用更改statusbar的方法

from statusbarutil.

laobie avatar laobie commented on June 6, 2024

@itdais 首页的图片可能比较麻烦点,可能需要把图片写在 activity 的布局中,然后你的 fragment 切换时,调用不同的 statusbarutil 的方法来实现不同的效果

from statusbarutil.

YumikoAzu avatar YumikoAzu commented on June 6, 2024

CoordinatorLayout 的bug fix了没? @laobie

from statusbarutil.

laobie avatar laobie commented on June 6, 2024

@YumikoAzu 尝试了下 没修好😂 着急不

from statusbarutil.

YumikoAzu avatar YumikoAzu commented on June 6, 2024

http://blog.csdn.net/u013260551/article/details/51150336 看看这个 @laobie

from statusbarutil.

laobie avatar laobie commented on June 6, 2024

@YumikoAzu 这个看起来不错😂 能解决你那个问题么

from statusbarutil.

itdais avatar itdais commented on June 6, 2024

@YumikoAzu @laobie Fragment的切换我本来想用onHideChange 或者onVisiableToUse的方法,发现这两个方法在onCreateView前调用,经过处理后是可以实现statusbar的切换的,但是statusbar的在fragment显示时会有闪一下的情况

from statusbarutil.

laobie avatar laobie commented on June 6, 2024

@itdais 我写了个你这样需求的demo 你可以看下最新的demo了

from statusbarutil.

itdais avatar itdais commented on June 6, 2024

@laobie 可以实现了!非常感谢

from statusbarutil.

laobie avatar laobie commented on June 6, 2024

@itdais 不客气~

from statusbarutil.

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.