georgetso
V2EX  ›  问与答

安卓开发请教 requestLayout() 方法的完成回调

  •  
  •   georgetso · Jul 3, 2014 · 3685 views
    This topic created in 4424 days ago, the information mentioned may be changed or developed.
    requestLayout()方法需要一点点时间进行layout,请问这个方法完成后是否有回调方法?
    3 replies    2014-07-03 16:29:26 +08:00
    jamev5
        1
    jamev5  
       Jul 3, 2014   ❤️ 1
    OnGlobalLayoutListener 能满足你吗?
    jamev5
        2
    jamev5  
       Jul 3, 2014
    或者 OnLayoutChangeListener。
    georgetso
        3
    georgetso  
    OP
       Jul 3, 2014
    感谢!我也不知道能不能满足,等我实验过后告知。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5158 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:13 · PVG 15:13 · LAX 00:13 · JFK 03:13
    ♥ Do have faith in what you're doing.