Searched refs:viewHolder (Results 1 – 4 of 4) sorted by relevance
165 protected boolean isDividerAllowedAbove(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedAbove() argument166 return !(viewHolder instanceof DividedViewHolder) in isDividerAllowedAbove()167 || ((DividedViewHolder) viewHolder).isDividerAllowedAbove(); in isDividerAllowedAbove()179 protected boolean isDividerAllowedBelow(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedBelow() argument180 return !(viewHolder instanceof DividedViewHolder) in isDividerAllowedBelow()181 || ((DividedViewHolder) viewHolder).isDividerAllowedBelow(); in isDividerAllowedBelow()
157 viewHolder: RecyclerView.ViewHolder, in <lambda>()161 val fromPos = viewHolder.adapterPosition in <lambda>()172 override fun onSwiped(viewHolder: RecyclerView.ViewHolder, direction: Int) { in <lambda>()173 val position = viewHolder.adapterPosition in <lambda>()185 viewHolder: RecyclerView.ViewHolder in <lambda>()187 super.clearView(recyclerView, viewHolder) in <lambda>()
257 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) { in onSwiped() argument258 int position = viewHolder.getAdapterPosition(); in onSwiped()259 QueueItemViewHolder queueItemHolder = (QueueItemViewHolder) viewHolder; in onSwiped()268 public void clearView(@NonNull RecyclerView recyclerView, @NonNull ViewHolder viewHolder) { in clearView() argument269 super.clearView(recyclerView, viewHolder); in clearView()271 QueueItemViewHolder queueItemHolder = (QueueItemViewHolder) viewHolder; in clearView()
114 final ItemViewHolder viewHolder = new ItemViewHolder(view); in onCreateViewHolder() local164 final IItem item = viewHolder.getItem(); in onCreateViewHolder()171 return viewHolder; in onCreateViewHolder()