Comments (3)
Hi!
if you need a route different from the defaul one (taken from the composable name),@Destination
has a parameter you can use to set whatever route you want.
That would be my recommendation 🙂
from compose-destinations.
Thank you for a one solution.
Would it maybe make sense, to also add a feature, so you could specify under which package specific nav-graph gets generated?
from compose-destinations.
At this point, there's no plan to do something like that. In this case, I would call your composables SignUpTermsOfService
and SignInTermsOfService
. Even if they're in different packages, it also would help developers understand where they are at a glance. That or specify a route, although I believe Composable names also need to be unique in current version (that will go away with v2).
from compose-destinations.
Related Issues (20)
- [Question]where to call navigate, which one is the best practices HOT 6
- KMP support HOT 4
- Bottom bar navigation documention that says to do `currentDestination == destination.direction` in selected doesn't select the element HOT 3
- [Question] How to enable / disable animation based on destination value HOT 4
- Feature request: Allow generation of SavedStateHandle from NavArgs for testing HOT 3
- Feature request: Result recipient lambda with default implementation HOT 3
- Saving history of stacks on nested navigation without multiple nav host. HOT 1
- Multiple result recipients no longer supported in 1.9.57 HOT 14
- Status of v2.0.0-alpha branch? HOT 1
- Default values in multiple lines don't work HOT 25
- Is there an equivalent of Destination.invoke for deeplinks? HOT 2
- Item selection doesn't work in Bottom Sheet HOT 9
- After updating some Gradle libraries including this one I get "BackendException: Backend Internal error: Exception during psi2ir" on a RootNavGraphDefaultAnimations implementation HOT 8
- Error: NavArgsGettersKt.dex defined mutiple times HOT 3
- Document Navigation.Extras HOT 3
- ModalBottomSheetLayout UI content no longer visible after system font size change until app restarted HOT 1
- NavArgsDelegate fails KSP due to false positive when property code comments include parentheses HOT 3
- the topbar is not displaying properly. HOT 1
- the topbar is not displaying properly.
- PopBackStack does not have a check for lifecycle state like navigate does HOT 3
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 compose-destinations.