This week's book giveaway is in the Open Source forum.
We're giving away four copies of Programmers Guide to Apache Thrift and have Randy Abernethy on-line!
See this thread for details.
Win a copy of Programmers Guide to Apache Thrift this week in the Open Source forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Android design: changeable menu items in slide menu  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys...

Some advice please:

I am trying to create a slide menu with information that changes...

inside the app you can add personal information about people(into a database)... and I would like to create a listview inside the menu so that when selected the information is displayed in a fragment...

is this possible? and how would I go about it... any tutorials?

Thanks

Ben
 
Ranch Foreman
Posts: 242
3
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you mean sliding menu using navigation drawer ?
https://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/
 
Ben van Jaarsveld
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi sorry... yes... I have created a slider menu, but I would like the items in the menu to change to the people that I have inserted into the database..\

So when there is only 1 person's details added to the database... there will only 1 item on the menu, and as you add people, the lists will get longer

 
Randy Tong
Ranch Foreman
Posts: 242
3
Android Java Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you need is Android ExpandableListView inside NavigationView.
 
Ben van Jaarsveld
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you..
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!