Click here to Skip to main content
15,885,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

Can any body suggest me a way to create a dynamic slide in left menu as Gmail app with dynamic data retrieved from web-service.
Posted

1 solution

Umm, that's Navigation Drawer.
Android Sliding Menu using Navigation Drawer[^]
Creating a Navigation Drawer[^]

The list-item you can create the ArrayAdapter from the data returned from the service.
Refer this for consuming JSON service in Android-
Android JSON Parsing Tutorial[^]

-KR
 
Share this answer
 
Comments
Afzaal Ahmad Zeeshan 17-Nov-15 3:41am    
5ed; stupid me, I thought it was about the web version of Gmail. :-)
Krunal Rohit 17-Nov-15 8:07am    
Happens. :laugh:

-KR
Hidhoud1991 17-Nov-15 5:18am    
How can i develop the Navigation Drawer to be dynamic is there a sample code i can use ?
I want it to be as Gmail App left slide menu with logo and cover with all of it content change dynamically
Krunal Rohit 17-Nov-15 8:09am    
First try to build it with the static data and then see how can you accomplish with the dynamic data. It's pretty easy though. Follow the links, you'll get it. Not soon but later.
Good Luck.

-KR

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900