Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Realize multipage app

Realize multipage app

Scheduled Pinned Locked Moved Android
questiontutorialdiscussion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andy_Bell
    wrote on last edited by
    #1

    Good evening I want to realize multipages application. I have to use a slide menu (in left side); all page are reached by item in this menu and it should be visible in all pages. In this moment I have realized slide menu in main application: an Activity, I have to implement the other pages but I don't know how to do it. What is the best practice, in this case? Should the other pages be realized like subActivity starting them by StartActivityForResult? Or is it better starting them as indipendent pages whit StartActivity? In last case I must relicate the slide menu... Thank you very much.

    A 1 Reply Last reply
    0
    • A Andy_Bell

      Good evening I want to realize multipages application. I have to use a slide menu (in left side); all page are reached by item in this menu and it should be visible in all pages. In this moment I have realized slide menu in main application: an Activity, I have to implement the other pages but I don't know how to do it. What is the best practice, in this case? Should the other pages be realized like subActivity starting them by StartActivityForResult? Or is it better starting them as indipendent pages whit StartActivity? In last case I must relicate the slide menu... Thank you very much.

      A Offline
      A Offline
      Afzaal Ahmad Zeeshan
      wrote on last edited by
      #2

      What do you mean by the term, "realize"? Does that mean to develop? Creating this feature from scratch won't be a good idea, as you would have to handle many events such as drag events (for the drawer). What you need to use is, a Navigation Drawer activity. Navigation drawer supports the features that you need to use. That is how you see the applications to be working in Android with this feature. Android manages showing the list view of the drawer using the z-index in the application and the rest of the stuff would be managed by Android too, like showing the content, changing which layout or content to show etc. For more on this, please go through, Creating a Navigation Drawer | Android Developers[^]

      The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups