LocationManager
LocationManager copied to clipboard
onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java For LocationBaseActivity
onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java For LocationBaseActivity
Configuration
_Android Studio_
Android Studio Arctic Fox | 2020.3.1 Patch 3
Build #AI-203.7717.56.2031.7784292, built on October 1, 2021
Runtime version: 11.0.10+0-b96-7249189 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
_Java_
Java 11
Logs
When I am running ktlint it gives error and my github workflow is failing
Task :app:compileDriverDevDebugKotlin w: /home/runner/work/tracksynq-android/tracksynq-android/app/src/main/java/com/quantuminventions/tracksynq/presentation/base/LocationBaseActivity.kt: (22, 15): 'onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java
Can you suggest something? Thanks in advance
@branoh @stetro @yayaa @fightyz any update on this?
Pull requests are welcome :)
LocationBaseActivity
is an helper class nothing more, you can easily copy what's in it and put it in your own activity - it shouldn't be blocking to use the library.
@yayaa, But what would you suggest in place of the deprecated class onActivityResult(Int, Int, Intent?): Unit' is deprecated if I was using exactly the same LocationBaseActivity?
Same for @branoh @stetro @fightyz.
Thanks in advance for your suggestions.