Inspectopedia Help

Usage of Android Wear BIND_LISTENER is deprecated

Usage of Android Wear BIND_LISTENER is deprecated

BIND_LISTENER receives all Android Wear events whether the application needs them or not. This can be inefficient and cause applications to wake up unnecessarily. With Google Play Services 8.2.0 or later it is recommended to use a more efficient combination of manifest listeners and api-based live listeners filtered by action, path and/or path prefix.

Issue id: WearableBindListener

https://android-developers.googleblog.com/2016/04/deprecation-of-bindlistener.html

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023