Skip to content

Add the ability to package ViewBinding classes with extensions #2185

@Luna712

Description

@Luna712

Describe your suggested feature

I'm not 100% sure if this is actually feasible or not, but it would be nice if you could package ViewBinding classes with extensions similar to how requiresResources works. This would also allow more type safety and for extensions to use BaseFragment as well. It is possible to get build to pass using ViewBinding, however because the binding classes isn't actually bundled, it results in runtime errors instead.

Other details

No response

Acknowledgements

  • My suggestion is NOT about adding a new provider
  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions