Skip to content

Commit 996c2d5

Browse files
committed
updated AndroidX libraries, Dokka, Gradle and Kotlin dependencies; generated new docs
1 parent 2605f6c commit 996c2d5

File tree

69 files changed

+420
-971
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+420
-971
lines changed

.idea/gradle.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

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

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ dependencies {
3232
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
3333

3434
// AndroidX
35-
implementation 'androidx.appcompat:appcompat:1.2.0'
36-
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
35+
implementation 'androidx.appcompat:appcompat:1.3.1'
36+
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
3737
implementation "androidx.core:core-ktx:$androidx_core_version"
38-
implementation 'androidx.recyclerview:recyclerview:1.2.0'
38+
implementation 'androidx.recyclerview:recyclerview:1.2.1'
3939

4040
// Mapbox
4141
implementation "com.mapbox.mapboxsdk:mapbox-android-sdk:$mapbox_version"

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
buildscript {
22
ext {
3-
androidx_core_version = '1.3.2'
4-
androidx_test_runner_version = '1.3.0'
5-
androidx_test_espresso_version = '3.3.0'
6-
androidx_test_junit_version = '1.1.2'
3+
androidx_core_version = '1.6.0'
4+
androidx_test_runner_version = '1.4.0'
5+
androidx_test_espresso_version = '3.4.0'
6+
androidx_test_junit_version = '1.1.3'
77
junit_version = '4.13.2'
8-
kotlin_version = '1.5.0'
8+
kotlin_version = '1.5.31'
99
mapbox_version = '9.6.1'
1010
}
1111
repositories {
1212
google()
1313
mavenCentral()
1414
}
1515
dependencies {
16-
classpath 'com.android.tools.build:gradle:4.2.1'
17-
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.32'
16+
classpath 'com.android.tools.build:gradle:7.0.2'
17+
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.5.31'
1818
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1919
}
2020
}

docs/index.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
//[mapboxpluginoffline](index.md)
22

3+
# mapboxpluginoffline
34

5+
## Packages
46

5-
# mapboxpluginoffline
6-
7-
8-
## Packages
9-
10-
| Name |
7+
| Name |
118
|---|
12-
| <a name="io.github.xit0c.mapboxpluginoffline////PointingToDeclaration/"></a>[io.github.xit0c.mapboxpluginoffline](mapboxpluginoffline/io.github.xit0c.mapboxpluginoffline/index.md)|
13-
| <a name="io.github.xit0c.mapboxpluginoffline.model////PointingToDeclaration/"></a>[io.github.xit0c.mapboxpluginoffline.model](mapboxpluginoffline/io.github.xit0c.mapboxpluginoffline.model/index.md)|
14-
| <a name="io.github.xit0c.mapboxpluginoffline.utils////PointingToDeclaration/"></a>[io.github.xit0c.mapboxpluginoffline.utils](mapboxpluginoffline/io.github.xit0c.mapboxpluginoffline.utils/index.md)|
15-
9+
| [io.github.xit0c.mapboxpluginoffline](mapboxpluginoffline/io.github.xit0c.mapboxpluginoffline/index.md) |
10+
| [io.github.xit0c.mapboxpluginoffline.model](mapboxpluginoffline/io.github.xit0c.mapboxpluginoffline.model/index.md) |
11+
| [io.github.xit0c.mapboxpluginoffline.utils](mapboxpluginoffline/io.github.xit0c.mapboxpluginoffline.utils/index.md) |
Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,16 @@
11
//[mapboxpluginoffline](../../../../index.md)/[io.github.xit0c.mapboxpluginoffline.model](../../index.md)/[NotificationOptions](../index.md)/[Companion](index.md)/[EXTRA_REGION_ID_FOR_ACTIVITY](-e-x-t-r-a_-r-e-g-i-o-n_-i-d_-f-o-r_-a-c-t-i-v-i-t-y.md)
22

3+
# EXTRA_REGION_ID_FOR_ACTIVITY
34

4-
5-
# EXTRA_REGION_ID_FOR_ACTIVITY
6-
[androidJvm]
7-
Content
8-
const val [EXTRA_REGION_ID_FOR_ACTIVITY](-e-x-t-r-a_-r-e-g-i-o-n_-i-d_-f-o-r_-a-c-t-i-v-i-t-y.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
9-
More info
10-
5+
[androidJvm]\
6+
const val [EXTRA_REGION_ID_FOR_ACTIVITY](-e-x-t-r-a_-r-e-g-i-o-n_-i-d_-f-o-r_-a-c-t-i-v-i-t-y.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
117

128
Key for the OfflineRegion id put as an extra of the Intent used to start [returnActivity](../return-activity.md).
139

10+
## See also
1411

12+
androidJvm
1513

16-
## See also
17-
18-
androidJvm
19-
2014
| | |
2115
|---|---|
22-
| <a name="io.github.xit0c.mapboxpluginoffline.model/NotificationOptions.Companion/EXTRA_REGION_ID_FOR_ACTIVITY/#/PointingToDeclaration/"></a>[io.github.xit0c.mapboxpluginoffline.utils.OfflineUtils](../../../io.github.xit0c.mapboxpluginoffline.utils/-offline-utils/get-region-id-from-intent.md)| <a name="io.github.xit0c.mapboxpluginoffline.model/NotificationOptions.Companion/EXTRA_REGION_ID_FOR_ACTIVITY/#/PointingToDeclaration/"></a>|
23-
24-
25-
26-
27-
16+
| [io.github.xit0c.mapboxpluginoffline.utils.OfflineUtils](../../../io.github.xit0c.mapboxpluginoffline.utils/-offline-utils/get-region-id-from-intent.md) | |
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
//[mapboxpluginoffline](../../../../index.md)/[io.github.xit0c.mapboxpluginoffline.model](../../index.md)/[NotificationOptions](../index.md)/[Companion](index.md)
22

3+
# Companion
34

5+
[androidJvm]\
6+
object [Companion](index.md)
47

5-
# Companion
6-
[androidJvm] object [Companion](index.md)
8+
## Properties
79

8-
9-
## Properties
10-
11-
| Name | Summary |
10+
| Name | Summary |
1211
|---|---|
13-
| <a name="io.github.xit0c.mapboxpluginoffline.model/NotificationOptions.Companion/EXTRA_REGION_ID_FOR_ACTIVITY/#/PointingToDeclaration/"></a>[EXTRA_REGION_ID_FOR_ACTIVITY](-e-x-t-r-a_-r-e-g-i-o-n_-i-d_-f-o-r_-a-c-t-i-v-i-t-y.md)| <a name="io.github.xit0c.mapboxpluginoffline.model/NotificationOptions.Companion/EXTRA_REGION_ID_FOR_ACTIVITY/#/PointingToDeclaration/"></a> [androidJvm] const val [EXTRA_REGION_ID_FOR_ACTIVITY](-e-x-t-r-a_-r-e-g-i-o-n_-i-d_-f-o-r_-a-c-t-i-v-i-t-y.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)Key for the OfflineRegion id put as an extra of the Intent used to start [returnActivity](../return-activity.md). <br>|
14-
12+
| [EXTRA_REGION_ID_FOR_ACTIVITY](-e-x-t-r-a_-r-e-g-i-o-n_-i-d_-f-o-r_-a-c-t-i-v-i-t-y.md) | [androidJvm]<br>const val [EXTRA_REGION_ID_FOR_ACTIVITY](-e-x-t-r-a_-r-e-g-i-o-n_-i-d_-f-o-r_-a-c-t-i-v-i-t-y.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Key for the OfflineRegion id put as an extra of the Intent used to start [returnActivity](../return-activity.md). |
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
//[mapboxpluginoffline](../../../index.md)/[io.github.xit0c.mapboxpluginoffline.model](../index.md)/[NotificationOptions](index.md)/[NotificationOptions](-notification-options.md)
22

3+
# NotificationOptions
34

5+
[androidJvm]\
46

5-
# NotificationOptions
6-
[androidJvm]
7-
Content
8-
@[JvmOverloads](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-overloads/index.html)()
9-
10-
fun [NotificationOptions](-notification-options.md)(@[DrawableRes](https://developer.android.com/reference/kotlin/androidx/annotation/DrawableRes.html)()smallIconRes: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = android.R.drawable.stat_sys_download, contentTitle: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = "Offline Map", downloadContentText: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = "Downloading…", cancelContentText: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = "Deleting…", cancelActionText: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = "Cancel", requestMapSnapshot: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, returnActivity: [Class](https://developer.android.com/reference/kotlin/java/lang/Class.html)<*>? = null)
11-
More info
7+
@[JvmOverloads](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-overloads/index.html)
128

9+
fun [NotificationOptions](-notification-options.md)(@[DrawableRes](https://developer.android.com/reference/kotlin/androidx/annotation/DrawableRes.html)smallIconRes: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = android.R.drawable.stat_sys_download, contentTitle: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = "Offline Map", downloadContentText: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = "Downloading…", cancelContentText: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = "Deleting…", cancelActionText: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = "Cancel", requestMapSnapshot: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, returnActivity: [Class](https://developer.android.com/reference/kotlin/java/lang/Class.html)&lt;*&gt;? = null)
1310

1411
Creates a NotificationOptions with the given values.
15-
16-
17-
18-
19-
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
//[mapboxpluginoffline](../../../index.md)/[io.github.xit0c.mapboxpluginoffline.model](../index.md)/[NotificationOptions](index.md)/[cancelActionText](cancel-action-text.md)
22

3+
# cancelActionText
34

4-
5-
# cancelActionText
6-
[androidJvm]
7-
Content
8-
val [cancelActionText](cancel-action-text.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
9-
10-
11-
5+
[androidJvm]\
6+
val [cancelActionText](cancel-action-text.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)

0 commit comments

Comments
 (0)