Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit dc9a666

Browse files
committed
Remove dummy unit tests, change GridSpacingItemDecoration to accept float spacing, bump version
1 parent 3ae5991 commit dc9a666

File tree

5 files changed

+4
-118
lines changed

5 files changed

+4
-118
lines changed

android-ui-toolkit/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ext {
4747
siteUrl = 'https://github.com/Supernova-Studio/android-ui-toolkit'
4848
gitUrl = 'https://github.com/Supernova-Studio/android-ui-toolkit.git'
4949

50-
libraryVersion = '1.1.0'
50+
libraryVersion = '1.1.1'
5151

5252
developerId = 'supernova-studio'
5353
developerName = 'Supernova Studio'

android-ui-toolkit/src/main/java/io/supernova/uitoolkit/recycler/GridSpacingItemDecoration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public class GridSpacingItemDecoration extends RecyclerView.ItemDecoration {
3030
*
3131
* @param spacing - space between items in RecyclerView
3232
*/
33-
public GridSpacingItemDecoration(int spacing) {
34-
this.spacing = spacing;
33+
public GridSpacingItemDecoration(float spacing) {
34+
this.spacing = Math.round(spacing);
3535
}
3636

3737

android-ui-toolkit/src/test/java/io/supernova/uitoolkit/ExampleUnitTest.java

Lines changed: 0 additions & 18 deletions
This file was deleted.

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ android {
2121
dependencies {
2222
implementation fileTree(dir: 'libs', include: ['*.jar'])
2323
implementation 'com.android.support:appcompat-v7:27.1.1'
24-
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
24+
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
2525
testImplementation 'junit:junit:4.12'
2626
androidTestImplementation 'com.android.support.test:runner:1.0.2'
2727
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

lib/src/main/java/io/supernova/uitoolkit/drawable/GravityDrawable.java

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)