Remove the usage of deprecated methods#131
Open
nikhildahake wants to merge 26 commits intoy-polek:developfrom
Open
Remove the usage of deprecated methods#131nikhildahake wants to merge 26 commits intoy-polek:developfrom
nikhildahake wants to merge 26 commits intoy-polek:developfrom
Conversation
2. Use getSupportFragmentManager() instead of getFragmentManager()
2. Remove the usage of setHasOptionsMenu()
2. Remove the usage of setTargetFragment() method 3. Use getBindingAdapterPosition instead of getAdapterPosition()
…ifiedTestPlatform=false
2) Remove the usage of Async task. 3) Use ActivityResultLauncher instead of startActivityForResult(). 4) Remove unused methods.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request reduces the number of deprecated method warnings from 66 to 3.
Here is a summary of the changes:
a) context.getResources.getColor(R.color.alternative_accent) -> context.getResources.getColor(R.color.alternative_accent, null)
Video: https://www.loom.com/share/e084450a7e3c45eb8f0796c9b93b0f70?sid=2d8d61bd-c5e8-4d43-a668-e2206d5e872c