File tree Expand file tree Collapse file tree 7 files changed +14
-14
lines changed
src/main/java/com/example/app_compose Expand file tree Collapse file tree 7 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ dependencies {
7474 // [END_EXCLUDE]
7575
7676 // Android Maps Compose composables for the Maps SDK for Android
77- implementation(" com.google.maps.android:maps-compose:6.4 .1" )
77+ implementation(" com.google.maps.android:maps-compose:6.7 .1" )
7878}
7979// [END maps_android_compose_dependency]
8080
Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ import com.google.maps.android.compose.MapType
3333import com.google.maps.android.compose.MapUiSettings
3434import com.google.maps.android.compose.Marker
3535import com.google.maps.android.compose.rememberCameraPositionState
36- import com.google.maps.android.compose.rememberMarkerState
36+ import com.google.maps.android.compose.rememberUpdatedMarkerState
3737
3838@Composable
3939fun AddAMap () {
4040 // [START maps_android_compose_add_a_map]
4141 val singapore = LatLng (1.35 , 103.87 )
42- val singaporeMarkerState = rememberMarkerState (position = singapore)
42+ val singaporeMarkerState = rememberUpdatedMarkerState (position = singapore)
4343 val cameraPositionState = rememberCameraPositionState {
4444 position = CameraPosition .fromLatLngZoom(singapore, 10f )
4545 }
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ dependencies {
6666 // It is recommended to also include the latest Maps SDK, Places SDK and RxJava so you
6767 // have the latest features and bug fixes.
6868 implementation(" com.google.android.gms:play-services-maps:19.2.0" )
69- implementation(" com.google.android.libraries.places:places:4.3 .1" )
70- implementation(" io.reactivex.rxjava3:rxjava:3.1.8 " )
69+ implementation(" com.google.android.libraries.places:places:4.4 .1" )
70+ implementation(" io.reactivex.rxjava3:rxjava:3.1.11 " )
7171
7272 // [START_EXCLUDE silent]
7373 implementation(libs.appcompat)
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies {
7070 // Utility Library for Maps SDK for Android
7171 // You do not need to add a separate dependency for the Maps SDK for Android
7272 // since this library builds in the compatible version of the Maps SDK.
73- implementation(" com.google.maps.android:android-maps-utils:3.12 .0" )
73+ implementation(" com.google.maps.android:android-maps-utils:3.14 .0" )
7474}
7575// [END maps_android_utils_install_snippet]
7676
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ dependencies {
8181 // [END_EXCLUDE]
8282
8383 // Maps SDK for Android
84- implementation(" com.google.android.gms:play-services-maps:19.0 .0" )
84+ implementation(" com.google.android.gms:play-services-maps:19.2 .0" )
8585}
8686// [END maps_android_play_services_maps_dependency]
8787
Original file line number Diff line number Diff line change 11[versions ]
2- espressoCore = " 3.6.1 "
2+ espressoCore = " 3.7.0 "
33junit = " 4.13.2"
4- junitVersion = " 1.2.1 "
4+ junitVersion = " 1.3.0 "
55kotlin = " 2.2.0"
66coreKtx = " 1.16.0"
77appCompat = " 1.7.1"
@@ -10,13 +10,13 @@ composeMaterial = "1.8.3"
1010mapsKtx = " 5.2.0"
1111material = " 1.12.0"
1212constraintLayout = " 2.2.1"
13- navigation = " 2.9.0 "
13+ navigation = " 2.9.3 "
1414rxlifecycleAndroidLifecycleKotlin = " 4.0.2"
1515volley = " 1.2.1"
16- lifecycleRuntime = " 2.9.1 "
17- places = " 4.3 .1"
16+ lifecycleRuntime = " 2.9.2 "
17+ places = " 4.4 .1"
1818secretsGradlePlugin = " 2.0.1"
19- agp = " 8.10.1 "
19+ agp = " 8.12.0 "
2020
2121[libraries ]
2222espresso-core = { module = " androidx.test.espresso:espresso-core" , version.ref = " espressoCore" }
Original file line number Diff line number Diff line change 11# Wed Jul 10 22:14:33 CEST 2024
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
4- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1 -bin.zip
4+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.13 -bin.zip
55zipStoreBase =GRADLE_USER_HOME
66zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments