WearableNavigationDrawerView.WearableNavigationDrawerAdapter

public abstract class WearableNavigationDrawerView.WearableNavigationDrawerAdapter


Adapter for specifying the contents of WearableNavigationDrawer.

Summary

Public constructors

Public methods

abstract int

Returns the number of items in this adapter.

abstract Drawable
getItemDrawable(int pos)

Get the drawable associated with the item at pos.

abstract CharSequence
getItemText(int pos)

Get the text associated with the item at pos.

void

This method should be called by the application if the data backing this adapter has changed and associated views should update.

Public constructors

WearableNavigationDrawerAdapter

public final WearableNavigationDrawerAdapter()

Public methods

getCount

public abstract int getCount()

Returns the number of items in this adapter.

getItemDrawable

public abstract Drawable getItemDrawable(int pos)

Get the drawable associated with the item at pos.

getItemText

public abstract CharSequence getItemText(int pos)

Get the text associated with the item at pos.

notifyDataSetChanged

public void notifyDataSetChanged()

This method should be called by the application if the data backing this adapter has changed and associated views should update.