File tree Expand file tree Collapse file tree
AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,13 @@ public static class Builder {
3434 private final boolean editMode ;
3535 private final Map <Integer , IconSet > fontIndicesMap ;
3636
37+ public Builder (Context context ) {
38+ fontIndicesMap = new HashMap <>();
39+ sb = new StringBuilder ();
40+ this .context = context .getApplicationContext ();
41+ this .editMode = false ;
42+ }
43+
3744 public Builder (Context context , boolean editMode ) {
3845 fontIndicesMap = new HashMap <>();
3946 sb = new StringBuilder ();
Original file line number Diff line number Diff line change @@ -13,5 +13,8 @@ allprojects {
1313 group = GROUP
1414 repositories {
1515 mavenCentral()
16+ maven {
17+ url " https://jitpack.io" // for snapshot debugging
18+ }
1619 }
1720}
Original file line number Diff line number Diff line change @@ -23,16 +23,11 @@ android {
2323 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
2424 }
2525 }
26- repositories {
27- maven {
28- url " https://jitpack.io" // for snapshot debugging
29- }
30- }
3126}
3227
3328dependencies {
34- compile project (' :AndroidBootstrap' ) // replace with Maven dependency in your app
35- // compile 'com.github.fractalwrench:Android-Bootstrap:-SNAPSHOT'
29+ // compile project (':AndroidBootstrap') // replace with Maven dependency in your app
30+ compile ' com.github.fractalwrench:Android-Bootstrap:-SNAPSHOT'
3631
3732 compile ' com.jakewharton:butterknife:7.0.1'
3833 compile ' com.android.support:appcompat-v7:23.1.1'
You can’t perform that action at this time.
0 commit comments