File tree Expand file tree Collapse file tree 8 files changed +24
-25
lines changed
src/main/kotlin/com/vojtkovszky/singleactivitynavigation Expand file tree Collapse file tree 8 files changed +24
-25
lines changed Original file line number Diff line number Diff line change 11* .iml
22.gradle
33/local.properties
4- /.idea /caches
5- /.idea /libraries
6- /.idea /modules.xml
7- /.idea /workspace.xml
8- /.idea /navEditor.xml
9- /.idea /assetWizardSettings.xml
4+ /.idea
105.DS_Store
116/build
127/captures
Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## 3.4.1 (2024-11-05)
4+ * bump Kotlin to 2.0.20, Gradle plugin to 8.7.2
5+ * bump core-ktx to 1.15.0, appcompat to 1.7.0, material to 1.12.0
6+
37## 3.4.0 (2023-10-27)
48* Calling ` navigateBack ` will take stack into consideration instead of calling default back press.
59* Calling ` dismissOpenBottomSheet ` or ` dismissOpenDialog ` will now return ` Boolean ` indicating whether open sheet or dialog was dismissed or not.
Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ android {
4646dependencies {
4747 implementation project(' :singleactivitynavigation' )
4848
49- implementation ' androidx.core:core-ktx:1.12 .0'
50- implementation ' androidx.appcompat:appcompat:1.6.1 '
51- implementation ' androidx.constraintlayout:constraintlayout:2.1.4 '
52- implementation ' com.google.android.material:material:1.10 .0'
49+ implementation ' androidx.core:core-ktx:1.15 .0'
50+ implementation ' androidx.appcompat:appcompat:1.7.0 '
51+ implementation ' androidx.constraintlayout:constraintlayout:2.2.0 '
52+ implementation ' com.google.android.material:material:1.12 .0'
5353
54- debugImplementation ' com.squareup.leakcanary:leakcanary-android:2.10 '
54+ debugImplementation ' com.squareup.leakcanary:leakcanary-android:2.14 '
5555
5656 testImplementation ' junit:junit:4.13.2'
57- androidTestImplementation ' androidx.test.ext:junit:1.1.5 '
58- androidTestImplementation ' androidx.test.espresso:espresso-core:3.5 .1'
57+ androidTestImplementation ' androidx.test.ext:junit:1.2.1 '
58+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.6 .1'
5959}
Original file line number Diff line number Diff line change 11buildscript {
22 ext {
3- kotlin_version = " 1.9.10 " /* https://github.com/JetBrains/kotlin */
4- dokka_version = ' 1.9.10 ' /* https://github.com/Kotlin/dokka/releases */
3+ kotlin_version = " 2.0.20 " /* https://github.com/JetBrains/kotlin */
4+ dokka_version = ' 1.9.20 ' /* https://github.com/Kotlin/dokka/releases */
55 }
66
77 repositories {
@@ -10,7 +10,7 @@ buildscript {
1010 }
1111
1212 dependencies {
13- classpath ' com.android.tools.build:gradle:8.1 .2'
13+ classpath ' com.android.tools.build:gradle:8.7 .2'
1414 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1515 classpath " org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version "
1616 }
@@ -24,5 +24,5 @@ allprojects {
2424}
2525
2626tasks. register(' clean' , Delete ) {
27- delete rootProject. buildDir
27+ delete rootProject. layout . buildDirectory
2828}
Original file line number Diff line number Diff line change 11# Tue Aug 29 10:21:25 CEST 2023
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
4- distributionUrl =https\://services.gradle.org/distributions/gradle-8.0 -bin.zip
4+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.9 -bin.zip
55zipStoreBase =GRADLE_USER_HOME
66zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ android {
4141}
4242
4343dependencies {
44- implementation ' androidx.core:core-ktx:1.12 .0'
45- implementation ' androidx.appcompat:appcompat:1.6.1 '
46- implementation ' com.google.android.material:material:1.10 .0'
44+ implementation ' androidx.core:core-ktx:1.15 .0' /* https://developer.android.com/jetpack/androidx/releases/core */
45+ implementation ' androidx.appcompat:appcompat:1.7.0 ' /* https://developer.android.com/jetpack/androidx/releases/appcompat */
46+ implementation ' com.google.android.material:material:1.12 .0' /* https://github.com/material-components/material-components-android/releases */
4747
4848 testImplementation ' junit:junit:4.13.2'
49- androidTestImplementation ' androidx.test.ext:junit:1.1.5 '
50- androidTestImplementation ' androidx.test.espresso:espresso-core:3.5 .1'
49+ androidTestImplementation ' androidx.test.ext:junit:1.2.1 '
50+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.6 .1'
5151}
5252
5353apply from : " $rootDir /gradle-mvn-push.gradle"
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ buildTypes=debug,release
33groupId =com.github.mvojtkovszky
44artifactId =SingleActivityNavigation
55moduleId =singleactivitynavigation
6- versionName =3.4.0
6+ versionName =3.4.1
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ abstract class BaseSingleFragment: Fragment() {
206206
207207 override fun onCreate (savedInstanceState : Bundle ? ) {
208208 super .onCreate(savedInstanceState)
209- fragmentType = FragmentType .values() .firstOrNull {
209+ fragmentType = FragmentType .entries .firstOrNull {
210210 it.name == arguments?.getString(ARG_FRAGMENT_TYPE_NAME ) } ? : FragmentType .INVALID
211211 translationZ = arguments?.getFloat(ARG_TRANSLATION_Z ) ? : 0f
212212
You can’t perform that action at this time.
0 commit comments