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

Releases: ZacSweers/barber

1.3.1

04 Jul 00:50
Compare
Choose a tag to compare

Hotfix for the barber-compiler pom not specifying the correct artifactId. Should be able to properly resolve the dependency now

1.3.0

03 Jul 08:12
Compare
Choose a tag to compare

This release adds support for specifying default values in @StyledAttr annotations. They must point to a resource ID, and abide by the same conventions for type resolution as before regarding Kind.

@StyledAttr(value = R.styleable.BarberView_animated, defaultValue = R.bool.animated_default)
public boolean isAnimated;

1.2.1

03 May 00:53
Compare
Choose a tag to compare
Add mavencentral support and update some dependencies

1.2.0

11 Apr 12:37
Compare
Choose a tag to compare

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;

1.1.1

08 Mar 12:55
Compare
Choose a tag to compare
  • Adds support for Preferences styling by removing the hard View requirement in Barber.style(…) methods. Now it simply takes in an Object, and will now work for preferences with custom attributes.

1.1.0

07 Mar 03:48
Compare
Choose a tag to compare
  • Add support for @Required annotation
  • Add support for inheritance (#5)

1.0.1: Lower minSdkVersion to 14

03 Mar 22:17
Compare
Choose a tag to compare

This lowers the minSdk version to 14

Initial Release

03 Mar 12:11
Compare
Choose a tag to compare
1.0.0

General cleanup and fix test for pre-lollipop devices