We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As of Android SDK 30 AsyncTask was deprecated. HttpRequestTask and RouterServiceValidator.FindRouterTask extend AsyncTask.
See Here: https://developer.android.com/reference/android/os/AsyncTask
The library does not use deprecated classes or methods from the Android API
The library uses the deprecated AsyncTask
AsyncTask
The recommended alternative is to use executors: https://developer.android.com/reference/java/util/concurrent/Executors
ExecutorService executor = Executors.newSingleThreadExecutor(); handler = new Handler(Looper.getMainLooper()); executor.execute(new Runnable() { //Run background code handler.post(new Runnable() { @Override public void run() { //Run UI code } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
As of Android SDK 30 AsyncTask was deprecated. HttpRequestTask and RouterServiceValidator.FindRouterTask extend AsyncTask.
See Here: https://developer.android.com/reference/android/os/AsyncTask
Expected Behavior
The library does not use deprecated classes or methods from the Android API
Observed Behavior
The library uses the deprecated
AsyncTask
OS & Version Information
Test Case, Sample Code, and / or Example App
The recommended alternative is to use executors: https://developer.android.com/reference/java/util/concurrent/Executors
The text was updated successfully, but these errors were encountered: