Skip to content

Support layouts defined in libraries #14

Description

@drewhamilton

Layouts defined in libraries are not final, so they can't be used in annotations:
image

There are a few ways to support non-final layout resources off the top of my head:

  • Generate final versions of layout resources (I think Butter Knife does this, not sure how it works)
  • Support setting layout at runtime by generating a set...ViewHolderLayout method for each @ViewHolder with an undefined layout

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions