Most visited

Recently visited

FacetProviderAdapter

public interface FacetProviderAdapter

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


RecyclerView.Adapter实现的可选接口,用于查询FacetProvider中适配器内的给定类型。 请注意, RecyclerView.ViewHolder也可能实现FacetProvider ,其优先级高于从FacetProviderAdapter返回的优先级。

Summary

Public methods

abstract FacetProvider getFacetProvider(int type)

针对Adapter中的给定类型查询 FacetProvider

Public methods

getFacetProvider

FacetProvider getFacetProvider (int type)

针对Adapter中的给定类型查询 FacetProvider

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

Hooray!