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 {
74
74
// [END_EXCLUDE]
75
75
76
76
// 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" )
78
78
}
79
79
// [END maps_android_compose_dependency]
80
80
Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ import com.google.maps.android.compose.MapType
33
33
import com.google.maps.android.compose.MapUiSettings
34
34
import com.google.maps.android.compose.Marker
35
35
import com.google.maps.android.compose.rememberCameraPositionState
36
- import com.google.maps.android.compose.rememberMarkerState
36
+ import com.google.maps.android.compose.rememberUpdatedMarkerState
37
37
38
38
@Composable
39
39
fun AddAMap () {
40
40
// [START maps_android_compose_add_a_map]
41
41
val singapore = LatLng (1.35 , 103.87 )
42
- val singaporeMarkerState = rememberMarkerState (position = singapore)
42
+ val singaporeMarkerState = rememberUpdatedMarkerState (position = singapore)
43
43
val cameraPositionState = rememberCameraPositionState {
44
44
position = CameraPosition .fromLatLngZoom(singapore, 10f )
45
45
}
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ dependencies {
66
66
// It is recommended to also include the latest Maps SDK, Places SDK and RxJava so you
67
67
// have the latest features and bug fixes.
68
68
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 " )
71
71
72
72
// [START_EXCLUDE silent]
73
73
implementation(libs.appcompat)
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies {
70
70
// Utility Library for Maps SDK for Android
71
71
// You do not need to add a separate dependency for the Maps SDK for Android
72
72
// 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" )
74
74
}
75
75
// [END maps_android_utils_install_snippet]
76
76
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ dependencies {
81
81
// [END_EXCLUDE]
82
82
83
83
// 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" )
85
85
}
86
86
// [END maps_android_play_services_maps_dependency]
87
87
Original file line number Diff line number Diff line change 1
1
[versions ]
2
- espressoCore = " 3.6.1 "
2
+ espressoCore = " 3.7.0 "
3
3
junit = " 4.13.2"
4
- junitVersion = " 1.2.1 "
4
+ junitVersion = " 1.3.0 "
5
5
kotlin = " 2.2.0"
6
6
coreKtx = " 1.16.0"
7
7
appCompat = " 1.7.1"
@@ -10,13 +10,13 @@ composeMaterial = "1.8.3"
10
10
mapsKtx = " 5.2.0"
11
11
material = " 1.12.0"
12
12
constraintLayout = " 2.2.1"
13
- navigation = " 2.9.0 "
13
+ navigation = " 2.9.3 "
14
14
rxlifecycleAndroidLifecycleKotlin = " 4.0.2"
15
15
volley = " 1.2.1"
16
- lifecycleRuntime = " 2.9.1 "
17
- places = " 4.3 .1"
16
+ lifecycleRuntime = " 2.9.2 "
17
+ places = " 4.4 .1"
18
18
secretsGradlePlugin = " 2.0.1"
19
- agp = " 8.10.1 "
19
+ agp = " 8.12.0 "
20
20
21
21
[libraries ]
22
22
espresso-core = { module = " androidx.test.espresso:espresso-core" , version.ref = " espressoCore" }
Original file line number Diff line number Diff line change 1
1
# Wed Jul 10 22:14:33 CEST 2024
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =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
5
5
zipStoreBase =GRADLE_USER_HOME
6
6
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments