Skip to content

Using @TargetApi() doesn't magically solve compatibility issues #42

@yungpanda

Description

@yungpanda

Using @TargetApi() is just ment to tell the compiler that this method is focused on that API so Lint isn't showing errors. This doesn't magically solve compatibility issues though. You should still have another method or a check inside your method to have some fallback code for older API's.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions