Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Allow FragmentBuilder to return the Bundle #1016

Description

@carlosefonseca

To use TabWidget and TabHost, I need to pass the fragment class and a bundle instance. FragmentBuilder already contains all the nice methods to set the parameters on the bundle instance but it only allows the creation of the fragment with that bundle instance. It has no method to return it. Adding a getBundle() to the FragmentBuilder would be great!
Thanks!

Activity

  1. carlosefonseca commented on May 30, 2014

    @carlosefonseca
    Author

    Ok, i guess I can XFragment_.builder().build().getArguments();…

  2. yDelouis commented on May 31, 2014

    @yDelouis
    Contributor

    It would be better not to have to create the fragment (with all the injections) just to get the arguments.
    That's why I proposed the PR #1022.

  3. added this to the 3.1 milestone on May 31, 2014
  4. DayS commented on May 31, 2014

    @DayS
    Contributor

    Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions