Skip to content

Commit

Permalink
🎉 Version 0.9 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashmahar committed May 24, 2017
1 parent 3e57f2d commit aa4e6ff
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 12 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# Trianglify Releases

## Latest
* [Version 0.9 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.9-beta)
| [demo apk](https://drive.google.com/open?id=0Bz_2jvdEtUlrWEpxQ2Y2RnJGc1U)
* Added custom palette demonstration to demo app
* Added method `fillViewCompletely` to check if view is incompletely filled
* 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)

## Previous
* [Version 0.8 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.8-beta)
| [demo apk](https://www.dropbox.com/s/cn85g497nkwmx14/trianglify-release-0.8-beta.apk?dl=0)
* Generation of triangulation on worker thread to prevent UI freezing [#20](https://github.com/sdsmdg/trianglify/issues/20)
* Correct coloring of view, color now drawn matches its name [#18](https://github.com/sdsmdg/trianglify/issues/18)
* Support for custom palette ([usage](#26-using-custom-palettes)) [#17](https://github.com/sdsmdg/trianglify/issues/17)

## Previous
* [Version 0.7 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.7-beta)
[Google Play](https://suyashmahar.me/404)
* Added library to jCenter | [Link](https://bintray.com/suyashmahar/trianglify/trianglify/)
18 changes: 18 additions & 0 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,24 @@ trianglifyView.setGridWidth(trianglifyView.getWidth())

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

**Other methods**
These methods are getters for corresponding properties and are not covered in the table above:
* isDrawStrokeEnabled
* isRandomColoringEnabled
* getVariance
* getTypeGrid
* getPalette
* getGridWidth
* getGridHeight
* getCellSize
* getBleedX
* getBleedY
* isFillTriangle
* isFillViewCompletely
* getViewState
* setViewState
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)

#### 2.1.2 Palette
| Method | Return Type | Type | Parameters | Description |
|-------------|-------------|-------------|------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
Expand Down
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,19 @@

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

# Usages

This comment has been minimized.

Copy link
@dakshitagrawal

dakshitagrawal May 24, 2017

Member

We can use How to Apply instead of Usages. Usages is repeated lower down the readme.


Include following line in the gradle script of your application to include latest release of Trianglify:
```gradle
compile 'com.sdsmdg.kd:trianglify:0.9-beta'
```

# Latest Release
* [Version 0.8 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.8-beta)
| [demo apk](https://www.dropbox.com/s/cn85g497nkwmx14/trianglify-release-0.8-beta.apk?dl=0)
* Generation of triangulation on worker thread to prevent UI freezing [#20](https://github.com/sdsmdg/trianglify/issues/20)
* Correct coloring of view, color now drawn matches its name [#18](https://github.com/sdsmdg/trianglify/issues/18)
* Support for custom palette ([usage](#26-using-custom-palettes)) [#17](https://github.com/sdsmdg/trianglify/issues/17)
* [Version 0.9 beta](https://bintray.com/suyashmahar/trianglify/trianglify/0.9-beta)
| [demo apk](https://drive.google.com/open?id=0Bz_2jvdEtUlrWEpxQ2Y2RnJGc1U)
* Added custom palette demonstration to demo app
* Added method `fillViewCompletely` to check if view is incompletely filled
* 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)

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

Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 16
targetSdkVersion 25
versionCode 0
versionName "0.8-beta"
versionName "0.9-beta"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
10 changes: 5 additions & 5 deletions trianglify/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ext {

PUBLISH_GROUP_ID = 'com.sdsmdg.kd'
PUBLISH_ARTIFACT_ID = 'trianglify'
PUBLISH_VERSION = '0.8-beta'
PUBLISH_VERSION = '0.9-beta'

publishedGroupId = 'com.sdsmdg.kd'
libraryName = 'trianglify'
Expand All @@ -17,7 +17,7 @@ ext {
gitUrl = 'https://github.com/sdsmdg/trianglify.git'
githubRepository= 'sdsmdg/trianglify'

libraryVersion = '0.8-beta'
libraryVersion = '0.9-beta'
libraryDescription = 'Generate beautiful view for android.'

developerId = 'sdsmdg'
Expand All @@ -37,7 +37,7 @@ android {
minSdkVersion 16
targetSdkVersion 25
versionCode 0
versionName "0.8-beta"
versionName "0.9-beta"

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

Expand All @@ -64,5 +64,5 @@ dependencies {

}

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

0 comments on commit aa4e6ff

Please sign in to comment.