diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e2f4df..934f68c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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/) \ No newline at end of file diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 029dfdd..03b41de 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -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 | |-------------|-------------|-------------|------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------| diff --git a/README.md b/README.md index 3b34287..632f575 100644 --- a/README.md +++ b/README.md @@ -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 + +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). diff --git a/app/build.gradle b/app/build.gradle index 8448f3c..53bd3dc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { diff --git a/trianglify/build.gradle b/trianglify/build.gradle index c9439a4..7109fd6 100644 --- a/trianglify/build.gradle +++ b/trianglify/build.gradle @@ -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' @@ -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' @@ -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" @@ -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' \ No newline at end of file +//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle' +//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle' \ No newline at end of file