You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your Activity you will use the generated Builder class (the name of your fragment with "Builder" suffix) instead of new MyFragment() or a static MyFragment.newInstance(int id, String title) method.
this is not true with 3.0.2. The correct form seem to be:
In your Activity you will use the generated Builder class (the name of your fragment with "Builder" suffix) instead of new MyFragment() or a static MyFragmentBuilder.newMyFragment(int id, String title) method.
The text was updated successfully, but these errors were encountered:
Hm, this is a misunderstanding. What I wanted to say is instead of the "traditional" way of instantiating an Fragment (like new MyFragment() or a static MyFragment.newInstance(...) which seems to be best practice) you can use the generated Builder from FragmentArgs
I was just flaging that there's high chance current documentation suggests something else you wanted to say and maybe rephrasing this portion of documentation or adding additional clarification would be beneficial for future users.
README.md says:
this is not true with 3.0.2. The correct form seem to be:
The text was updated successfully, but these errors were encountered: