Base Rcv View Holder
open class BaseRcvViewHolder(@LayoutRes xmlRes: Int, parent: ViewGroup, attachToRoot: Boolean = false) : RootViewHolder
Base ViewHolder for RecyclerView without ViewDataBinding.
ViewDataBinding을 사용하지 않는 RecyclerView용 기본 ViewHolder입니다.
Parameters
xml Res
Layout resource ID.
아이템 레이아웃 리소스 ID입니다.
parent
Parent ViewGroup.
부모 ViewGroup입니다.
attach To Root
Whether to attach to root (default: false).
루트에 붙일지 여부입니다(기본값: false).
Properties
Functions
Link copied to clipboard
Clears the internal view cache manually.
내부 뷰 캐시를 수동으로 비웁니다.
Link copied to clipboard
Finds a view by ID with type casting and caching.
타입 캐스팅과 캐싱을 적용해 findViewById를 수행합니다.
Link copied to clipboard
Finds a view by ID with null safety and caching.
null 안전성과 캐싱을 적용해 findViewById를 수행합니다.
Link copied to clipboard