tankilo
V2EX  ›  Android

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

  •  
  •   tankilo · Jan 13, 2015 · 13396 views
    This topic created in 4262 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   ·   Privacy   ·   Solana   ·   5621 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 06:51 · PVG 14:51 · LAX 23:51 · JFK 02:51
    ♥ Do have faith in what you're doing.