Skip to content

Most visited

Recently visited

navigation

FacetProvider

public interface FacetProvider

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


This is the query interface to supply optional features(aka facets) on an object without the need of letting the object to subclass or implement java interfaces.

Summary

Public methods

abstract Object getFacet(Class<?> facetClass)

Queries optional implemented facet.

Public methods

getFacet

Object getFacet (Class<?> facetClass)

Queries optional implemented facet.

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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.