I need a navigational drawer that contains the fragments as data items

Krishnan
Member

I need a navigational drawer that contains the fragments as data items

Post By Krishnan » 11 December 2016, 16:41

I need a navigational drawer that contains the fragments as data items. I need those fragment to contains some text views or scrollview etc and those fragments should contains different types of text views and scroll views. The main thing is those fragment should be independent from one another and each text view in fragment should contains an onclick listener. I need coding and mainly for those text views in fragments with on click listener to create another activity. Pls anyone help me
Deep
Member

Re: I need a navigational drawer that contains the fragments as data items

Post By Deep » 11 December 2016, 17:48

https://github.com/zaifrun/NavigationDrawer2 Refer this one ????
Bala1
Member

Re: I need a navigational drawer that contains the fragments as data items

Post By Bala1 » 11 December 2016, 19:16

Hi Krishnan, not sure if fragments inside navigation drawer is a good design choice. You could have any type of view including text views and scroll views inside the navigation drawer layout with out having to implement it as fragments. In case you need fragments only, then specify frame layout as containers in the navigation drawer layout file and attach the fragments from your activity oncreate.