tankilo
V2EX  ›  Android

请问大家制作一个官方风格的 drawer,侧滑菜单只能一个 MainActivity,然后其他的都做成 Fragment 吗?

  •  
  •   tankilo · Jan 13, 2015 · 13069 views
    This topic created in 4190 days ago, the information mentioned may be changed or developed.
    1 replies    2015-01-13 19:56:16 +08:00
    sonaive
        1
    sonaive  
       Jan 13, 2015 via Android   ❤️ 1
    不是啊,你可以写一个baseactivity 实现菜单功能,其他的继承这个。具体参考iosched.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3018 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 03:24 · PVG 11:24 · LAX 20:24 · JFK 23:24
    ♥ Do have faith in what you're doing.