imandolatkia / Android-Animated-Theme-Manager

create your custom themes and change them dynamically with ripple animation
Apache License 2.0
703 stars 64 forks source link

Code refactoring #4

Closed wwdablu closed 3 years ago

wwdablu commented 3 years ago

Following are the changes:

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

imandolatkia commented 3 years ago

Thank you @wwdablu,

It was good refactoring :) But in my local projects, some classes need ThemeManager but don't have access to any fragments or activities. On the other hand, it is not backward compatible. So I added a companion instance for ThemeManager again. Now we have both getThemeManager() and ThemeManager instance.

Thanks for taking the time.

imandolatkia commented 3 years ago

Also, thank you for the other refactors. I merged all of them without any change. @wwdablu