Commit 0d6f023
* feat: Change the `position` parameter of MarkerState to a clearer name. #637
* feat: Rename example codes that were using the position `parameter` to `initialPosition`. #637
* Revert "feat: Rename example codes that were using the position `parameter` to `initialPosition`. #637"
This reverts commit 565007e4c2162a2b6e59e9eefee1718e067f0eb2.
* Revert "feat: Change the `position` parameter of MarkerState to a clearer name. #637"
This reverts commit 2aa9d4aba5503f670087a975ae20c66935e26845.
* feat: Add 'rememberUpdatedMarkerState' which updates the state value based on updates to the input parameters.
* chore: Add warning comment at rememberMarkerState.
* feat: Modify the example project to use the newly added 'rememberUpdatedMarkerState'.
* feat: Add test case for 'testRememberUpdatedMarkerStateBeUpdate'.
* feat: remove rememberSavable for rememberUpdatedMarkerState.
* feat: Deprecate rememberMarkerState function.
* Update maps-compose/src/main/java/com/google/maps/android/compose/Marker.kt
Co-authored-by: Uli Bubenheimer <[email protected]>
---------
Co-authored-by: Uli Bubenheimer <[email protected]>
Co-authored-by: Enrique López Mañas <[email protected]>
1 parent ad7026a commit 0d6f023
File tree
3 files changed
+57
-25
lines changed- app/src
- androidTest/java/com/google/maps/android/compose
- main/java/com/google/maps/android/compose/markerexamples/updatingnodragmarkerwithdatamodel
- maps-compose/src/main/java/com/google/maps/android/compose
3 files changed
+57
-25
lines changedLines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
284 | 309 | | |
285 | 310 | | |
286 | 311 | | |
| |||
Lines changed: 3 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
| 35 | + | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
131 | | - | |
| 129 | + | |
132 | 130 | | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 135 | + | |
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
185 | 189 | | |
186 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
187 | 203 | | |
188 | 204 | | |
189 | 205 | | |
190 | 206 | | |
191 | 207 | | |
192 | 208 | | |
193 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
194 | 223 | | |
195 | 224 | | |
196 | 225 | | |
| |||
0 commit comments