Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

1.2.0

Compare
Choose a tag to compare
@ZacSweers ZacSweers released this 11 Apr 12:37
· 37 commits to master since this release

AndroidAttrs and Travis CI

This adds support for retrieving Android attribute values.

@AndroidAttr("textAllCaps")
public boolean textAllCaps;

Like StyledAttr, the default behavior is to return the type of the field/param. These are also subject to the same approach as @StyledAttr regarding special return types. See the AttrSetKind enum for a full list of supported types.

@AndroidAttr(value = "textColor", kind = AttrSetKind.RESOURCE)
public int textColor;