Product Compare Adapter
class ProductCompareAdapter( products: List<ProductCompareViewModel.CompareProduct>, activity: Activity, lifecycleOwner: LifecycleOwner, productRepository: ProductRepository, picasso: Picasso, language: String, addProductButton: Button) : RecyclerView.Adapter<ProductCompareAdapter.ViewHolder>
Content copied to clipboard
Constructors
Link copied to clipboard
fun ProductCompareAdapter( products: List<ProductCompareViewModel.CompareProduct>, activity: Activity, lifecycleOwner: LifecycleOwner, productRepository: ProductRepository, picasso: Picasso, language: String, addProductButton: Button)
Content copied to clipboard
Types
Link copied to clipboard
class ViewHolder(val binding: <Error class: unknown class>) : RecyclerView.ViewHolder
Content copied to clipboard
Functions
Link copied to clipboard
fun bindViewHolder(@NonNull p0: ProductCompareAdapter.ViewHolder, p1: Int)
Content copied to clipboard
Link copied to clipboard
fun createViewHolder(@NonNull p0: ViewGroup, p1: Int): ProductCompareAdapter.ViewHolder
Content copied to clipboard
Link copied to clipboard
open fun findRelativeAdapterPositionIn( @NonNull p0: RecyclerView.Adapter<out RecyclerView.ViewHolder>, @NonNull p1: RecyclerView.ViewHolder, p2: Int): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getStateRestorationPolicy(): RecyclerView.Adapter.StateRestorationPolicy
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onBindViewHolder(holder: ProductCompareAdapter.ViewHolder, position: Int)
Content copied to clipboard
open fun onBindViewHolder( @NonNull p0: ProductCompareAdapter.ViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
Content copied to clipboard
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ProductCompareAdapter.ViewHolder
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull p0: ProductCompareAdapter.ViewHolder): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onViewAttachedToWindow(@NonNull p0: ProductCompareAdapter.ViewHolder)
Content copied to clipboard
Link copied to clipboard
open fun onViewDetachedFromWindow(@NonNull p0: ProductCompareAdapter.ViewHolder)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setStateRestorationPolicy(@NonNull p0: RecyclerView.Adapter.StateRestorationPolicy)
Content copied to clipboard
Link copied to clipboard
open fun unregisterAdapterDataObserver(@NonNull p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard