Updated policy items design

This commit is contained in:
Viktor De Pasquale
2019-10-19 21:07:06 +02:00
parent b66b82a6e9
commit 7c6d85221d
3 changed files with 12 additions and 2 deletions
@@ -369,4 +369,12 @@ fun RecyclerView.setDividers(dividerVertical: Drawable?, dividerHorizontal: Draw
setDrawable(dividerVertical)
}.let { addItemDecoration(it) }
}
}
@BindingAdapter("rotationAnimated")
fun View.rotationTo(value: Int) {
animate()
.rotation(value.toFloat())
.setInterpolator(FastOutSlowInInterpolator())
.start()
}