Most visited

Recently visited

FacetProvider

public interface FacetProvider

android.support.v17.leanback.widget.FacetProvider
Known Indirect Subclasses


这是查询接口,用于在对象上提供可选特性(又称facets),而不需要让对象继承或实现java接口。

Summary

Public methods

abstract Object getFacet(Class<?> facetClass)

查询可选的已实施构面。

Public methods

getFacet

Object getFacet (Class<?> facetClass)

查询可选的已实施构面。

Parameters
facetClass Class: Facet classes to query, examples are: class of ItemAlignmentFacet.
Returns
Object Facet implementation for the facetClass or null if feature not implemented.

Hooray!