app / com.ocean.ishareeconomy_android.viewmodels / LendObjectViewModel / color

color

fun color(): ColorDrawable

Method that returns a background color for the lendobject's type icon, depending on it's state:

Green for available, Yellow if there is a current user.

Return
a ColorDrawable color.