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.

FragmentBuilder cannot compile if Fragment is generic #1077

Description

@WonderCsabo

If the Fragment has a generic type parameter, the generated code for the FragmentBuilder is messed up and cannot compile:

public static class FragmentBuilder_
    extends FragmentBuilder<GenericFragment_.FragmentBuilder_, GenericFragment<T>>
{


    @Override
    public GenericFragment<T>build() {
        GenericFragment_ fragment_ = new GenericFragment_();
        fragment_.setArguments(args);
        return fragment_;
    }

}

Activity

  1. changed the title [-]Fragment FragmentBuilder cannot compile if Fragment is generic[/-] [+]FragmentBuilder cannot compile if Fragment is generic[/+] on Jul 29, 2014
  2. WonderCsabo commented on Aug 15, 2014

    @WonderCsabo
    MemberAuthor

    @Artyomcool can you take a look at this?

  3. Artyomcool commented on Aug 15, 2014

    @Artyomcool

    Yeah, of course. But unfortunately, it will be not sooner next weekend.
    15 авг. 2014 г. 13:43 пользователь "Csaba Kozák" notifications@github.com
    написал:

    @Artyomcool https://github.com/Artyomcool can you take a look at this?

    —
    Reply to this email directly or view it on GitHub
    #1077 (comment)
    .

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions