V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
tankilo
V2EX  ›  Android

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

  •  
  •   tankilo · Jan 13, 2015 · 12822 views
    This topic created in 4122 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   ·   3491 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:54 · PVG 18:54 · LAX 03:54 · JFK 06:54
    ♥ Do have faith in what you're doing.