Comments (9)
I don't know there the problem is.
drawer.setCustomFragment(new ChildFragment(), "Child Title");
with this function, you can start unlimit fragments and so you can make a master child navigation.
from advancedmaterialdrawer.
How can have Multi drawer ??
I do need this badly..
On Tue, May 12, 2015 at 3:27 PM, madcyph3r [email protected] wrote:
I don't know there the problem is.
drawer.setCustomFragment(new ChildFragment(), "Child Title");
with this function, you can start unlimit fragments and so you can make a
master child navigation.—
Reply to this email directly or view it on GitHub
#45 (comment)
.
from advancedmaterialdrawer.
If you want a new drawer, start a new activity and add a new drawer. On backPress you go back to the old activity. Don't call finish on activity start and all is good ;), you have your multi drawer.
// Don't close drawer activity
@Override
public boolean finishActivityOnNewIntent() {
return false;
}
Override this method in your activity.
For more see here:
https://github.com/madcyph3r/AdvancedMaterialDrawer/blob/master/example/src/main/java/de/madcyph3r/example/example/functionally/NoClosePrevDrawerActivity_Activity.java
A new drawer must be added in a new activity. If the drawer no changed, you use fragments.
Alternative:
Change the menu on a click, like here:
#44
from advancedmaterialdrawer.
How can we have Multi Drawer using Code not by using Intent ??
On Tue, May 12, 2015 at 3:40 PM, madcyph3r [email protected] wrote:
If you want a new drawer, start a new activity and add a new drawer. On
backPress you go back to the old activity. Don't call finish on activity
start and all is good ;), you have your multi drawer.// Don't close drawer activity
@OverRide
public boolean finishActivityOnNewIntent() {
return false;
}Override this method in your activity.
For more see here:
A new drawer must be added in a new activity. If the drawer no changed,
you use fragments.Alternative:
Change the menu on a click, like here:
#44 #44—
Reply to this email directly or view it on GitHub
#45 (comment)
.
from advancedmaterialdrawer.
This is not possible. There is no function, to change the drawer.
from advancedmaterialdrawer.
okay...
I need that
On Tue, May 12, 2015 at 3:52 PM, madcyph3r [email protected] wrote:
This is not possible. There is no function, to change the drawer.
—
Reply to this email directly or view it on GitHub
#45 (comment)
.
from advancedmaterialdrawer.
Why you can't make a new activity? Or change the menu, without to load a new activity?
from advancedmaterialdrawer.
Is there ability to navigate from top level child to previous child by back button? Should I implement custom back pattern or there are some ease way?
from advancedmaterialdrawer.
I think this is, what you want:
https://github.com/madcyph3r/AdvancedMaterialDrawer/blob/master/example/src/main/java/de/madcyph3r/example/example/backPattern/BackPatternLastSectionActivity.java
Use MaterialNavigationDrawer.BACKPATTERN_LAST_SECTION for your back pattern. Otherwise you must implement your own back pattern
from advancedmaterialdrawer.
Related Issues (20)
- RTL slide shod HOT 1
- Header title text font HOT 1
- Account photo is changed to color HOT 9
- retain selected fragment on rotation HOT 1
- Master Child Navigation - Update? HOT 1
- support navigation bar in different api levels
- Toolbar cut off HOT 6
- Crashes on API 10 HOT 1
- app:theme is now deprecated. Please move to using android:theme instead. HOT 1
- Color of divider for section bottom HOT 1
- how to change drawer icon? HOT 1
- how to change height of actionbar? HOT 1
- PreferenceFragment support HOT 2
- failed to resolve HOT 2
- Keep fragment on orientation change HOT 2
- ActionBarActivity is deprecated HOT 3
- change background color of ActionBar to primaryColor HOT 2
- ActionBar Style (Colors and background)
- Closed
- Customize Item Background Colour HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advancedmaterialdrawer.