Reputation: 1266
In common cases all apps with Nawigation Drawer from support v4 in android has FrameLayout for containgn stuff and ListView but I need to do it in different wat instead ListView put there a Fragment, does anyyone did something like this?
Any advices will be helpfull for me. Thanks in advance.
Upvotes: 0
Views: 56
Reputation: 11254
All methods of NavigationDrawer
are using drawerView
variable of type View
. It means you can use any subclass of View
, not only ListView
, so you can take, for example, another FrameLayout
as container for you Fragments
and work directly with it.
Upvotes: 2