mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
add Suppress for deprecated method used in older version of android
This commit is contained in:
parent
979c510e4a
commit
051e03b573
@ -73,6 +73,7 @@ class OnMapAndViewReadyListener(
|
||||
}
|
||||
|
||||
// We use the new method when supported
|
||||
@Suppress("DEPRECATION")
|
||||
@SuppressLint("NewApi") // We check which build version we are using.
|
||||
override fun onGlobalLayout() {
|
||||
// Remove our listener.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user