georgetso
V2EX  ›  问与答

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

  •  
  •   georgetso · Jul 3, 2014 · 3684 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   ·   957 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 19:58 · PVG 03:58 · LAX 12:58 · JFK 15:58
    ♥ Do have faith in what you're doing.