Skip to content

Commit 656958b

Browse files
authored
Merge pull request #38 from sdsmdg/update/0.9-beta
🎉 Version 0.9 beta
2 parents 3e57f2d + aa4e6ff commit 656958b

File tree

5 files changed

+43
-12
lines changed

5 files changed

+43
-12
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
# Trianglify Releases
22

33
## Latest
4+
* [Version 0.9 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.9-beta)
5+
| [demo apk](https://drive.google.com/open?id=0Bz_2jvdEtUlrWEpxQ2Y2RnJGc1U)
6+
* Added custom palette demonstration to demo app
7+
* Added method `fillViewCompletely` to check if view is incompletely filled
8+
* Fixes many bugs - [#23](https://github.com/sdsmdg/trianglify/issues/23), [#33](https://github.com/sdsmdg/trianglify/issues/33), [#34](https://github.com/sdsmdg/trianglify/issues/34), [#35](https://github.com/sdsmdg/trianglify/issues/35) & [#36](https://github.com/sdsmdg/trianglify/issues/36)
9+
10+
## Previous
411
* [Version 0.8 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.8-beta)
512
| [demo apk](https://www.dropbox.com/s/cn85g497nkwmx14/trianglify-release-0.8-beta.apk?dl=0)
613
* Generation of triangulation on worker thread to prevent UI freezing [#20](https://github.com/sdsmdg/trianglify/issues/20)
714
* Correct coloring of view, color now drawn matches its name [#18](https://github.com/sdsmdg/trianglify/issues/18)
815
* Support for custom palette ([usage](#26-using-custom-palettes)) [#17](https://github.com/sdsmdg/trianglify/issues/17)
916

10-
## Previous
1117
* [Version 0.7 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.7-beta)
1218
[Google Play](https://suyashmahar.me/404)
1319
* Added library to jCenter | [Link](https://bintray.com/suyashmahar/trianglify/trianglify/)

DOCUMENTATION.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,24 @@ trianglifyView.setGridWidth(trianglifyView.getWidth())
7979

8080
*Current release contains only one GridType accessible with id `0`
8181

82+
**Other methods**
83+
These methods are getters for corresponding properties and are not covered in the table above:
84+
* isDrawStrokeEnabled
85+
* isRandomColoringEnabled
86+
* getVariance
87+
* getTypeGrid
88+
* getPalette
89+
* getGridWidth
90+
* getGridHeight
91+
* getCellSize
92+
* getBleedX
93+
* getBleedY
94+
* isFillTriangle
95+
* isFillViewCompletely
96+
* getViewState
97+
* setViewState
98+
For more information on states of view read **Smart update of view using smartUpdate** in [Section 2.7 Updating the View](#27-updating-the-view)
99+
82100
#### 2.1.2 Palette
83101
| Method | Return Type | Type | Parameters | Description |
84102
|-------------|-------------|-------------|------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,19 @@
2020

2121
Trianglify is an Android library that helps creates views with beautiful patterns. Trianglify is based on MVP architecture and licensed under MIT license.
2222

23+
# Usages
24+
25+
Include following line in the gradle script of your application to include latest release of Trianglify:
26+
```gradle
27+
compile 'com.sdsmdg.kd:trianglify:0.9-beta'
28+
```
29+
2330
# Latest Release
24-
* [Version 0.8 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.8-beta)
25-
| [demo apk](https://www.dropbox.com/s/cn85g497nkwmx14/trianglify-release-0.8-beta.apk?dl=0)
26-
* Generation of triangulation on worker thread to prevent UI freezing [#20](https://github.com/sdsmdg/trianglify/issues/20)
27-
* Correct coloring of view, color now drawn matches its name [#18](https://github.com/sdsmdg/trianglify/issues/18)
28-
* Support for custom palette ([usage](#26-using-custom-palettes)) [#17](https://github.com/sdsmdg/trianglify/issues/17)
31+
* [Version 0.9 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.9-beta)
32+
| [demo apk](https://drive.google.com/open?id=0Bz_2jvdEtUlrWEpxQ2Y2RnJGc1U)
33+
* Added custom palette demonstration to demo app
34+
* Added method `fillViewCompletely` to check if view is incompletely filled
35+
* Fixes many bugs [#23](https://github.com/sdsmdg/trianglify/issues/23) [#33](https://github.com/sdsmdg/trianglify/issues/33) [#34](https://github.com/sdsmdg/trianglify/issues/34) [#35](https://github.com/sdsmdg/trianglify/issues/35) [#36](https://github.com/sdsmdg/trianglify/issues/36)
2936

3037
For more check complete [change log](/CHANGELOG.md).
3138

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
minSdkVersion 16
99
targetSdkVersion 25
1010
versionCode 0
11-
versionName "0.8-beta"
11+
versionName "0.9-beta"
1212
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1313
}
1414
buildTypes {

trianglify/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ext {
77

88
PUBLISH_GROUP_ID = 'com.sdsmdg.kd'
99
PUBLISH_ARTIFACT_ID = 'trianglify'
10-
PUBLISH_VERSION = '0.8-beta'
10+
PUBLISH_VERSION = '0.9-beta'
1111

1212
publishedGroupId = 'com.sdsmdg.kd'
1313
libraryName = 'trianglify'
@@ -17,7 +17,7 @@ ext {
1717
gitUrl = 'https://github.com/sdsmdg/trianglify.git'
1818
githubRepository= 'sdsmdg/trianglify'
1919

20-
libraryVersion = '0.8-beta'
20+
libraryVersion = '0.9-beta'
2121
libraryDescription = 'Generate beautiful view for android.'
2222

2323
developerId = 'sdsmdg'
@@ -37,7 +37,7 @@ android {
3737
minSdkVersion 16
3838
targetSdkVersion 25
3939
versionCode 0
40-
versionName "0.8-beta"
40+
versionName "0.9-beta"
4141

4242
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
4343

@@ -64,5 +64,5 @@ dependencies {
6464

6565
}
6666

67-
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
68-
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
67+
//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
68+
//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'

0 commit comments

Comments
 (0)