Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscgdev committed Feb 15, 2020
2 parents 97a0bfa + ac80050 commit 513f5fb
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 22 deletions.
34 changes: 23 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ _Click [here](https://github.com/marcoscgdev/Licenser/blob/master/README_KOTLIN.

## Releases:

#### Current release: 1.0.5.
#### Current release: 1.0.6.

You can see all the library releases [here](https://github.com/marcoscgdev/Licenser/releases).

---

## Wiki

You can access Licenser wiki [here](https://github.com/marcoscgdev/Licenser/wiki).

## Demo:

You can download the **sample apk** [here](https://github.com/marcoscgdev/Licenser/releases/download/1.0.0/app-debug.apk).
You can download the **sample apk** [here](https://github.com/marcoscgdev/Licenser/releases/download/1.0.6/app-debug.apk).

<img src="https://raw.githubusercontent.com/marcoscgdev/Licenser/master/device-2018-02-11-161003.png" width="350">

Expand All @@ -38,7 +42,7 @@ allprojects {
Now add the dependency to your app *build.gradle* file:

```groovy
implementation 'com.github.marcoscgdev:Licenser:1.0.5'
implementation 'com.github.marcoscgdev:Licenser:1.0.6'
```

#### Step: 2 - creating a dialog
Expand All @@ -52,10 +56,10 @@ new LicenserDialog(this)
.setBackgroundColor(Color.RED) // Optional
.setLibrary(new Library("Android Support Libraries",
"https://developer.android.com/topic/libraries/support-library/index.html",
License.APACHE))
License.APACHE2)) // APACHE deprecated, see wiki
.setLibrary(new Library("Example Library",
"https://github.com/marcoscgdev",
License.APACHE))
License.APACHE2)) // APACHE deprecated, see wiki
.setLibrary(new Library("Licenser",
"https://github.com/marcoscgdev/Licenser",
License.MIT))
Expand Down Expand Up @@ -84,12 +88,20 @@ Library lib1 = new Library(String title, String url, int licenseType);
LICENSE TYPES (At this moment):

```java
- License.APACHE
- License.MIT
- License.GNU
- License.CREATIVE_COMMONS
- License.ISC
- License.NTP
- License.APACHE1 // Apache v1
- License.APACHE1_1 // Apache v1.1
- License.APACHE2 // Apache v2
- License.BSD3 // BSD v3
- License.BSD4 // BSD v4
- License.BSL // BSL
- License.CREATIVE_COMMONS // Creative commons
- License.FREEBSD // FreeBSD
- License.GNU2 // GNU v2
- License.GNU2_1 // GNU v2.1
- License.GNU3 // GNU v3
- License.ISC // ISC
- License.MIT // MIT
- License.NTP // NTP
```

```java
Expand Down
34 changes: 23 additions & 11 deletions README_KOTLIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ _Click [here](https://github.com/marcoscgdev/Licenser/blob/master/README.md) for

## Releases:

#### Current release: 1.0.5.
#### Current release: 1.0.6.

You can see all the library releases [here](https://github.com/marcoscgdev/Licenser/releases).

---

## Wiki

You can access Licenser wiki [here](https://github.com/marcoscgdev/Licenser/wiki).

## Demo:

You can download the **sample apk** [here](https://github.com/marcoscgdev/Licenser/releases/download/1.0.0/app-debug.apk).
You can download the **sample apk** [here](https://github.com/marcoscgdev/Licenser/releases/download/1.0.6/app-debug.apk).

<img src="https://raw.githubusercontent.com/marcoscgdev/Licenser/master/device-2018-02-11-161003.png" width="350">

Expand All @@ -38,7 +42,7 @@ allprojects {
Now add the dependency to your app *build.gradle* file:

```groovy
implementation 'com.github.marcoscgdev:Licenser:1.0.5'
implementation 'com.github.marcoscgdev:Licenser:1.0.6'
```

#### Step: 2 - creating a dialog
Expand All @@ -52,10 +56,10 @@ LicenserDialog(this)
.setBackgroundColor(Color.RED) // Optional
.setLibrary(Library("Android Support Libraries",
"https://developer.android.com/topic/libraries/support-library/index.html",
License.APACHE))
License.APACHE2)) // APACHE deprecated, see wiki
.setLibrary(Library("Example Library",
"https://github.com/marcoscgdev",
License.APACHE))
License.APACHE2)) // APACHE deprecated, see wiki
.setLibrary(Library("Licenser",
"https://github.com/marcoscgdev/Licenser",
License.MIT))
Expand Down Expand Up @@ -83,12 +87,20 @@ var lib1 = Library(String title, String url, int licenseType)
LICENSE TYPES (At this moment):

```java
- License.APACHE
- License.MIT
- License.GNU
- License.CREATIVE_COMMONS
- License.ISC
- License.NTP
- License.APACHE1 // Apache v1
- License.APACHE1_1 // Apache v1.1
- License.APACHE2 // Apache v2
- License.BSD3 // BSD v3
- License.BSD4 // BSD v4
- License.BSL // BSL
- License.CREATIVE_COMMONS // Creative commons
- License.FREEBSD // FreeBSD
- License.GNU2 // GNU v2
- License.GNU2_1 // GNU v2.1
- License.GNU3 // GNU v3
- License.ISC // ISC
- License.MIT // MIT
- License.NTP // NTP
```

```java
Expand Down

0 comments on commit 513f5fb

Please sign in to comment.