material-components-android
material-components-android copied to clipboard
Remove redundant version checks
Now that the minimum SDK version of Material Components is 19, there was a lot of code that could be simplified or removed.
Did you have time to have a look at this PR @hunterstich?
I've fixed the conflict in CarouselLayoutManagerRtlTest
@hunterstich I've updated the PR and removed some additional legacy code.
Thank you for working on this! I removed the change on the Badge file since it'd be best to refactor badge instead of just having a variable set to false, so that should be done in a separate change.
Thank you for working on this! I removed the change on the Badge file since it'd be best to refactor badge instead of just having a variable set to false, so that should be done in a separate change.
Are you open for a PR to remove BadgeUtils.USE_COMPAT_PARENT?
sure if you'd like to contribute feel free to do so and we'll happily review it! :)
I'll prepare a PR then 🙂
Just to be sure that we're aligned: the goal is to remove BadgeUtils.USE_COMPAT_PARENT and every it's used, correct?
that's right, we should remove the checks for BadgeUtils.USE_COMPAT_PARENT similar to how you removed the checks for API <= 19
Ok, https://github.com/material-components/material-components-android/pull/4170 is ready when you have time to have a look 🙂