phelat / navigationresult Goto Github PK
View Code? Open in Web Editor NEWstartActivityForResult but for fragments! (Addon for Jetpack's Navigation component)
License: Apache License 2.0
startActivityForResult but for fragments! (Addon for Jetpack's Navigation component)
License: Apache License 2.0
How can it be used with Dagger2.
I have BaseFragment which extends DaggerFragment, so how can i extend your BundleFragment?
Extending as follows:
BaseActivity : FragmentResultActivity() but dont have navHostFragmentId() same for all the activities extending BaseActivity.
Describe the bug:
The app randomly throws this errors, although the navigation path is properly defined
Navigation action/destination <yyy> cannot be found from the current destination Destination <xxx> label=XXXclass
Fragment Fragment{c7b8c3d} (8af9e5d9-7257-4ddd-a266-38975675c23e)} not attached to Activity
Describe the bug:
Steps to reproduce the behavior:
Expected behavior:
Library version that you are using:
When bottom navigationview with viewpager and then from each tab fragment if we use the navigation then not calling "onFragmentResult" we have different navhostIds for each tab. and I am updating the navHostId as you instructed.
Kindly help me to solve this problem.
I am using the java with this lib trying to access navigateUp(9292, bundle); it can not find the method
navigateUp(REQUEST_CODE, Bundle().apply {
putBoolean("isLoginSuccessful", true)
})
NavigationResult onFragmentResult not getting called for bottomNavigationView. I have single nav host and I have followed all 5 steps.
I'm going to a fragment B then comming back to fragment A by navigateUp with request code and bundle. Fragment A is a part of bottomNavigationView.
Will your solution wont work on bottomNavigationView ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.