morozov
07/06/2017, 11:51 AMprivate fun setupAmountLabel(amountLabelView: CategorizedAmountView, category: Category?,
amount: Double, percent: String, isParentView: Boolean) {
amountLabelView.setOnClickListener {
listItemClickListener?.onListItemClick(if (isParentView) 1 else 0, category?.guid ?: "")
}
}
Where i want to click on my listItemParent. Earlier this function was in the adapter, and I called the adapter by creating the setListClickListener method. But now i didn t know how i can make click on this item.