Some methods that used without problems in android studio become deprecated and become a strikethrough.
How can I find a new method with the same function in these cases?
Although it is viewcompat.gettranslationy, it became unusable if it was API level 26.
Android Studio 3.1.4
Answer # 1
Look at the documentation.
Looking at the ViewCompat.getTrancelationY item,
This method was deprecated in API level 26.1.0.
Use getTranslationY () directly.
(Respondent translation: This method has been deprecated at API level 26.1.0.There is
Use the getTranslarionY () method directly. )
. Since the method name is a link, if you fly,
It seems that Viiew # getTrancelationY can be used.
- Android Studio cannot execute the main method of the Java class
- Android Studio 360 method of binding new features of view
- Android Studio adds log filtering method
- [java] [android studio] screen transition method
- Android Studio installation and configuration method complete tutorial [newbie seconds understand]
- Use and solution of Android Studio finish () method click "return" (direct exit)
- Android Studio introduces FFmpeg method
- Android studio compile jar package or aar package method tutorial detailed
- Android Studio how to view the source code and debug method steps
- Small icons cannot be displayed after running Android Studio with genymotion
- android studio - how to print animationcontroller velocity
- android studio - viewpager and viewadapter cannot be associated
- the main menu at the top of the screen in android studio has disappeared
- android studio download path setting
- How to configure gradle in Android Studio under Flutter
- android studio - in edittext, i want the cursor to disappear when the entry is completed
- android studio - after uploading androidstudio, [design/text] switch tab disappeared
- Android studio develops a small dialogue robot app (example code)
- android studio - creating a game to avoid i want to descend from a random position from the beginning
- Android studio implements simple calculator
- python 3x - typeerror: 'method' object is not subscriptable
- python - you may need to restart the kernel to use updated packages error
- xcode - pod install [!] no `podfile 'found in the project directory
- vuejs - [vuetify] unable to locate target [data-app] i want to unit test to avoid warning
- android studio - emulator: dsound: could not initialize about the error message directsoundcapture
- android studio - unresolved reference comes out in kotlin
- mysql startup failed [error] innodb: the innodb_system data file 'ibdata1' must be writable
- django - oserror: [winerror 123] the file name, directory name, or volume label syntax is incorrect : '<frozen importlib_boot
- python - importerror: cannot import name md5 error cannot be resolved