com.hedgehog.gdzietabiedra.ribs.bottomnav.shopslist / ShopListAdapter

ShopListAdapter

class ShopListAdapter : Adapter<ShopListItemVH> (source)

Constructors

Name Summary
<init> ShopListAdapter()

Properties

Name Summary
itemClickSubject val itemClickSubject: PublishSubject<Shop>
itemMoreClicked val itemMoreClicked: PublishSubject<Shop>

Functions

Name Summary
addItem fun addItem(shop: Shop): Unit
clearItems fun clearItems(): Unit
getItemCount fun getItemCount(): Int
onBindViewHolder fun onBindViewHolder(holder: ShopListItemVH, position: Int): Unit
onCreateViewHolder fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ShopListItemVH
updateData fun updateData(list: List<Shop>): Unit