PropertyListAdapter

Constructors

Link copied to clipboard
constructor(onItemClick: (Property) -> Unit)

Types

Link copied to clipboard
class PropertyHolder(val binding: ERROR CLASS: Symbol not found for FragmentPropertyItemBinding, onItemClicked: (Int) -> Unit) : RecyclerView.ViewHolder

Properties

Link copied to clipboard
@get:NonNull
open override val currentList: List<Property?>
Link copied to clipboard
open override val filter: Filter
Link copied to clipboard
open override val itemCount: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getFilter(): Filter
Link copied to clipboard
open override fun getItemCount(): Int
Link copied to clipboard
open fun getItemId(position: Int): Long
Link copied to clipboard
open fun getItemViewType(position: Int): Int
Link copied to clipboard
fun getPropertyById(propertyId: Int): Property?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun notifyItemChanged(position: Int)
fun notifyItemChanged(position: Int, @Nullable payload: Any?)
Link copied to clipboard
fun notifyItemInserted(position: Int)
Link copied to clipboard
fun notifyItemMoved(fromPosition: Int, toPosition: Int)
Link copied to clipboard
fun notifyItemRangeChanged(positionStart: Int, itemCount: Int)
fun notifyItemRangeChanged(positionStart: Int, itemCount: Int, @Nullable payload: Any?)
Link copied to clipboard
fun notifyItemRangeInserted(positionStart: Int, itemCount: Int)
Link copied to clipboard
fun notifyItemRangeRemoved(positionStart: Int, itemCount: Int)
Link copied to clipboard
fun notifyItemRemoved(position: Int)
Link copied to clipboard
Link copied to clipboard
open override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int)
open override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int, payloads: List<Any?>)
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerView.ViewHolder
Link copied to clipboard
open fun onCurrentListChanged(@NonNull previousList: List<Property?>, @NonNull currentList: List<Property?>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setAll(newList: List<Property>, onListCommitted: () -> Unit)
Link copied to clipboard
open fun setHasStableIds(hasStableIds: Boolean)
Link copied to clipboard
open fun submitList(@Nullable list: List<Property?>??)
open fun submitList(@Nullable list: List<Property?>??, @Nullable commitCallback: Runnable?)
Link copied to clipboard
fun updateProperty(updatedProperty: Property)