Stay organized with collections
Save and categorize content based on your preferences.
Places Android KTX is a collection of Kotlin extensions for the
Places SDK for Android. These extensions provide Kotlin
language features that enable you to write concise and idiomatic Kotlin when
developing for the Places SDK for Android.
Places KTX is open-sourced and available on
GitHub
along with examples.
Install KTX for the Places SDK
To install KTX for the Places SDK for Android, add the
following dependencies to your app-level build.gradle.kts file.
dependencies{// KTX for the Places SDK for Android libraryimplementation("com.google.maps.android:places-ktx:3.3.1")}
Try the sample application
The GitHub repository for this library also contains a demo
application
that shows how you can use the Places KTX library in your own app.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-29 UTC."],[[["Places Android KTX offers Kotlin extensions for streamlined Places SDK interaction using idiomatic Kotlin."],["Native Kotlin APIs within the Places SDK for Android (version 4.0.0 and later) can be used as an alternative to Places Android KTX extensions."],["Developers can easily integrate Places KTX by adding the specified dependency to their app's `build.gradle.kts` file."],["A demo application within the GitHub repository provides practical examples of utilizing the Places KTX library."]]],[]]