diff --git a/gradle.properties b/gradle.properties index a3989d1a..71acd565 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true # Maven GROUP=cafe.adriel.voyager -VERSION_NAME=1.0.0-beta16 +VERSION_NAME=1.0.0-rc01 POM_DESCRIPTION=A pragmatic navigation library for Jetpack Compose POM_INCEPTION_YEAR=2021 @@ -17,9 +17,9 @@ POM_LICENCE_URL=https://opensource.org/licenses/MIT POM_LICENCE_DIST=repo POM_SCM_URL=https://github.com/adrielcafe/voyager -POM_SCM_CONNECTION=scm:git:git://github.com/adrielcafe/voyager.git +POM_SCM_CONNECTION=scm:git:ssh://git@github.com/adrielcafe/voyager.git POM_SCM_DEV_CONNECTION=scm:git:ssh://git@github.com/adrielcafe/voyager.git POM_DEVELOPER_ID=adrielcafe -POM_DEVELOPER_NAME=Adriel Café +POM_DEVELOPER_NAME=Adriel Cafe POM_DEVELOPER_URL=https://github.com/adrielcafe/ \ No newline at end of file diff --git a/samples/android/src/main/java/cafe/adriel/voyager/sample/screenModel/DetailsScreenModel.kt b/samples/android/src/main/java/cafe/adriel/voyager/sample/screenModel/DetailsScreenModel.kt index ea02f828..07d680b4 100644 --- a/samples/android/src/main/java/cafe/adriel/voyager/sample/screenModel/DetailsScreenModel.kt +++ b/samples/android/src/main/java/cafe/adriel/voyager/sample/screenModel/DetailsScreenModel.kt @@ -20,4 +20,8 @@ class DetailsScreenModel( mutableState.value = State.Result("Item #$index") } } + + override fun onDispose() { + println("ScreenModel: dispose details") + } } diff --git a/samples/android/src/main/java/cafe/adriel/voyager/sample/screenModel/ListScreenModel.kt b/samples/android/src/main/java/cafe/adriel/voyager/sample/screenModel/ListScreenModel.kt index ce23c7ee..45e3e0cd 100644 --- a/samples/android/src/main/java/cafe/adriel/voyager/sample/screenModel/ListScreenModel.kt +++ b/samples/android/src/main/java/cafe/adriel/voyager/sample/screenModel/ListScreenModel.kt @@ -6,4 +6,8 @@ import cafe.adriel.voyager.sample.sampleItems class ListScreenModel : ScreenModel { val items = sampleItems + + override fun onDispose() { + println("ScreenModel: dispose list") + } }