Most visited

Recently visited

FacetProviderAdapter

public interface FacetProviderAdapter

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


Optional interface that implemented by RecyclerView.Adapter to query FacetProvider for a given type within Adapter. Note that RecyclerView.ViewHolder may also implement FacetProvider which has a higher priority than the one returned from the FacetProviderAdapter.

Summary

Public methods

abstract FacetProvider getFacetProvider(int type)

Queries FacetProvider for a given type within Adapter.

Public methods

getFacetProvider

FacetProvider getFacetProvider (int type)

Queries FacetProvider for a given type within Adapter.

Parameters
type int: type of the item.
Returns
FacetProvider Facet provider for the type.

Hooray!