LayoutCast
LayoutCast copied to clipboard
Debug only dependency
Shouldn't we add dependency for LayoutCast as debug only?
dependencies {
debugCompile 'com.github.mmin18.layoutcast:library:1.+@aar'
...
}
You can do that if in your Application class (defined in AndroidManifest.xml) has a different code base in your debug flavor vs your release flavor. If you do have a different debug class flavor of your Application class, then within that method's on create, you don't need the "if BuildConfig.DEBUG" check before initing layout cast.