You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java For LocationBaseActivity
#122
Open
kiranshaw-qi opened this issue
Feb 16, 2022
· 3 comments
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
The text was updated successfully, but these errors were encountered:
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.
onActivityResult(Int, Int, Intent?): Unit' is deprecated. Overrides deprecated member in 'androidx.activity.ComponentActivity'. Deprecated in Java For LocationBaseActivity
Configuration
Logs
When I am running ktlint it gives error and my github workflow is failing
Can you suggest something?
Thanks in advance
The text was updated successfully, but these errors were encountered: