Refactor gradle configuration and update dependencies
- Enable java 11 language features - Switch to groovy syntax - Switch to new gradle plugins and dependency configuration - Drop deprecated properties - Switch from buildscript to project.ext closure for version property - Update dependencies to latest stable versions - Address build errors arising due to dependencies update Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -109,6 +109,7 @@ class CategoryBrowseActivity : BaseActivity(), GenericCarouselController.Callbac
|
||||
is ViewState.Success<*> -> {
|
||||
updateController(it.data as StreamBundle)
|
||||
}
|
||||
else -> {}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ class AccentFragment : BaseFragment() {
|
||||
anim.duration = 450
|
||||
anim.interpolator = CubicBezierInterpolator.EASE_IN_OUT_QUAD
|
||||
anim.addListener(object : AnimatorListenerAdapter() {
|
||||
override fun onAnimationEnd(animation: Animator?) {
|
||||
override fun onAnimationEnd(animation: Animator) {
|
||||
B.themeSwitchImage.setImageDrawable(null)
|
||||
B.themeSwitchImage.hide()
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ class ThemeFragment : BaseFragment() {
|
||||
anim.duration = 450
|
||||
anim.interpolator = CubicBezierInterpolator.EASE_IN_OUT_QUAD
|
||||
anim.addListener(object : AnimatorListenerAdapter() {
|
||||
override fun onAnimationEnd(animation: Animator?) {
|
||||
override fun onAnimationEnd(animation: Animator) {
|
||||
B.themeSwitchImage.setImageDrawable(null)
|
||||
B.themeSwitchImage.hide()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user