app / com.ocean.ishareeconomy_android.viewmodels / AddLendingViewModel / onTypeButtonClicked

onTypeButtonClicked

fun onTypeButtonClicked(view: View): Unit

Method that's responsible for setting the type It also sets buttons color, indicating that it has been selected this is delegated to parent fragment colorSetter, which is known under the SelectedColor interface

Parameters

view - the button was that clicked

Return
Unit