app / com.ocean.ishareeconomy_android.adapters / LendingDetailAdapter / getItemViewType

getItemViewType

fun getItemViewType(position: Int): Int

Called when RecyclerView needs a new RecyclerView.ViewHolder to determine the type of item.

Return
the type Int, based on the position of the item.