Skip to content

Commit c196ded

Browse files
rtchagasclaude
andcommitted
README: label migration section as 3.0.1 -> next
3.0.1 was the last published release; its public API (Builder + OnPlaceSelectedListener + Places SDK 3.x) is identical to 2.x for migration purposes, so the table content is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d4c6e8c commit c196ded

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ PING follows your app's Material colors. Override these in `res/values/colors.xm
175175

176176
See the [sample app](sample/) for a complete example.
177177

178-
## Migrating from 2.x
178+
## Migrating from 3.0.1
179179

180180
This release is a major rewrite. Highlights of the breaking changes:
181181

182-
| Before (2.x) | After |
182+
| Before (≤ 3.0.1) | After |
183183
| --- | --- |
184-
| `PingPlacePicker.IntentBuilder().build(activity)` + `startActivityForResult` | `registerForActivityResult(PingPlacePicker.Contract())` + `launcher.launch(Request(...))` |
184+
| `PingPlacePicker.Builder().build(activity)` + `startActivityForResult` | `registerForActivityResult(PingPlacePicker.Contract())` + `launcher.launch(Request(...))` |
185185
| `OnPlaceSelectedListener` (static) | `Result(place, latLng)` returned via the contract |
186186
| `PingPlacePicker.getPlace(data)` in `onActivityResult` | Receive `Result` in the registered callback |
187187
| `setMapsApiKey` (required) | `mapsApiKey` (optional — only needed for the static-map preview) |

0 commit comments

Comments
 (0)