Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。
取り組みを見る
ViewHolder
open class ViewHolder : FacetProvider
Known Indirect Subclasses
|
ViewHolder can be subclassed and used to cache any view accessors needed to improve binding performance (for example, results of findViewById) without needing to subclass a View.
Summary
Public methods |
Any! |
|
Unit |
Sets dynamic implemented facet in addition to basic ViewHolder functions.
|
Public constructors
<init>
ViewHolder(view: View!)
Public methods
getFacet
fun getFacet(facetClass: Class<*>!): Any!
setFacet
fun setFacet(
facetClass: Class<*>!,
facetImpl: Any!
): Unit
Sets dynamic implemented facet in addition to basic ViewHolder functions.
Parameters |
facetClass |
Class<*>!: Facet classes to query, can be class of ItemAlignmentFacet . |
facetImpl |
Any!: Facet implementation. |
Properties
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-07-22 UTC.