Comments (2)
using super.onCreate(null)
in MainActivity's onCreate as a workaround for now
from fragnav.
This happen when we use parameterized constructor for fragment. If you want to pass parameter in fragment, then try passing it in bundle e.g in your case
public static final PrivateOnlinePostsFragments newInstance(int title, String message){
PrivateOnlinePostsFragments fragment = new PrivateOnlinePostsFragments();
Bundle bundle = new Bundle(2);
bundle.putInt(EXTRA_TITLE, title);
bundle.putString(EXTRA_MESSAGE, message);
fragment.setArguments(bundle);
return fragment ;
}
from fragnav.
Related Issues (20)
- Clear stack fail with fragmentHideStrategy = DETACH_ON_NAVIGATE_HIDE_ON_SWITCH
- How to send argument when switching tab
- What is the best practice show full screen fragment without independent from stack HOT 1
- Code Repetition, Unnecessary Assignment of Variable
- Migration from JCenter HOT 16
- When the current fragment is removed from the stack (fragNavController.popFragment()), the previous fragment is recreated
- How can i push fragment like iOS modal presentation ?
- Sending Parcellables
- FragNavController in Java
- Hide Strategy HOT 1
- How to use Shared Elements Transition with FragNav ? HOT 2
- Memory Leak when the user closes the dialog shown via FragNavController.showDialogFragment
- Implement Deeplink with FragNav
- Cannot find or not found code in Kotlin dsl HOT 1
- recreating activity after screen rotation
- pushFragment PreferenceFragmentCompat
- Failed to resolve: com.ncapdevi:frag-nav:3.2.0 jcenter error HOT 1
- fragments in viewpager not loading on return
- Issue with previous fragment while switch the tabs
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 fragnav.