Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

ComponentName extension function for Context #526

@davethomas11

Description

@davethomas11

What do you think about a simple extension for creating ComponentName instances using a Context?

inline fun <reified T> Context.componentName() = ComponentName(this, T::class.java)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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