Category "deprecated"

SimpleExoPlayer is deprecated in 2.16. version of ExoPlayer. What to use now?

SimpleExoPlayer is deprecated in 2.16 version of ExoPlayer. What to use now?

GMB - Removal of LocationState object in Business Information API

Google deprecated the old GMB API v4.9 account.locations.get endpoint, and replaced it with Business Information API v1 locations.get. Code change that affects

setRetainInstance is deprecated. What is alternative?

setRetainInstance is deprecated. What alternative? I have a lot of fragments with many complicated object variables inside them. Today I only have one line of c

Android - onRequestPermissionsResult() is deprecated. Are there any alternatives?

I tried to implement request permissions for writing and reading from storage. Everything worked good but today Android showed me that the method onRequestPermi

EKS 1.22 update - ingress and alb not working

After updating EKS cluster to 1.22 all websites are down. Pods are ok but all the networking is not working. I don't know how to fix ingresses and load balance

npm warn deprecated and npm errors

I tried to install truffle and all these deprecated messages and errors occured , i checked the npm modules version with 'npm-check -u' and it says it is all g

Passing strings for MessageEmbed#setFooter is deprecated

I'm getting this warning in the terminal when running my bot code: (node:6220) DeprecationWarning: Passing strings for MessageEmbed#setFooter is deprecated. Pas

Is there "@Deprecated" annotation for methods in .aidl files?

Is there a corresponding "@Deprecated" annotation-syntax for methods in .aidl files? I want to mark a method as deprecated, add a new method and promote the use

express-session deprecated req.secret; provide secret option app.js:27:9

I typed npm start to run my program but this is the comment that U received in the terminal: express-session deprecated req.secret; provide secret option app.js

Google Storage Bucket Permission to view object but not to list

I created a storage bucket with publicly accessible files. I want to ensure that viewers can view individual objects if they access them directly, but I do not

Replacements for deprecated JPMS modules with Java EE APIs

Java 9 deprecated six modules that contain Java EE APIs and they are going to be removed soon: java.activation with javax.activation package java.corba with ja

PHP each() function replacement

I read a textbook and it said each() function is deprecated. The author has recommend his own replacement for each() function called myEach() as following: func

Google Cloud Storage confused about ACL/IAM and legacy permissions

I have a bucket whose contents I want to be publicly readable. However, I do not want the users to be able to list all of the contents by removing the keyname f

What should I use instead of the deprecated Date.getHours()

If a method is deprecated in Java there will be a another better way to have same functionality, right? Date date = new Date(); date.getHours() As getHours()

Deprecated packages while installing gulp with npm

System: Pop!_OS 21.04 The problem: Deprecated packages while installing gulp with npm npm install --global gulp-cli error npm WARN deprecated [email protected]: Please