'getDrawable(int)' is deprecated(IS BUG)
See original GitHub issuei find bug on react-native-gesture-handler please fix this
getResources().getDrawable(sResolveOutValue.resourceId); TO=>
ContextCompat.getDrawable(getContext(),sResolveOutValue.resourceId) on 155 line in RNGestureHandlerButtonViewManager class
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Android getResources().getDrawable() deprecated API 22
It is right that the method getDrawable (int id) of the class Resources is deprecated. You should now use the method getDrawable (int...
Read more >getDrawable(int id) is deprecated in API 22 - Treehouse
getDrawable (int id) is deprecated in API 22. My search shows that now the same method requires more parameters, but if we use...
Read more >Resources | Android Developers
MockResources, This class was deprecated in API level 24. Use a mocking framework ... getDrawable(int) or getDrawable(int, android.content.res.Resources.
Read more >1169435 - Resources.getColor deprecated - Bugzilla@Mozilla
From the M preview developer documentation: public int getColor (int id) This method ... 2015 +0200 description: Bug 1169435 - Replace deprecated Resources....
Read more >core/java/android/content/res/Resources.java
@deprecated Resources should not be constructed by apps. ... R, trackingBug = 170729553) ... @deprecated Use {@link #getDrawable(int, Theme)} instead.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Very useful. No course of action to take - no nothing. Plus closed another thread saying it’s a duplicate of this 😄 good work
Now how to find answer for this? @osdnk closed another issue telling its duplicate of this, and closed this issue without giving a proper answer. Super course of action by @osdnk . Now there is no way of getting an answer.