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…) variant and let Barber take care of all the boilerplate for you.


Install/import with Gradle

Instructions for Gradle

buildscript {
    repositories {
        jcenter() // Also available in maven central
    dependencies {
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'

apply plugin: ''

dependencies {
    apt 'io.sweers.barber:barber-compiler:1.2.1'
    compile 'io.sweers.barber:barber-api:1.2.1'
Facebook Twitter Google Reddit LinkedIn
  • Price : Free
  • License : Apache License, Version 2.0
  • Visit Link

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *