What is Barber?

Barber is a custom view styling library for Android that generates the obtainStyledAttributes() and TypedArray boilerplate code for you.

  • Simply annotate your fields using the @StyledAttr or @AndroidAttr annotations
  • Call the appropriate Barber.style(this…) variant
  • Let Barber take care of all the boilerplate for you.
  • Profit

Overview

  • Pricing: Free
  • Resource Link: https://github.com/ZacSweers/barber
  • Resource Maker on Twitter: Zac Sweers
  • Mobile Platform Destination: Android Apps
  • Mobile Platform Support: Native Android
  • Programming Languages: Java
  • Gradle: io.sweers.barber:barber-api:1.3.1