belongs to Maven artifact com.android.support:wear:28.0.0-alpha1
WearableNavigationDrawerView.WearableNavigationDrawerAdapter
  public
  static
  
  abstract
  class
  WearableNavigationDrawerView.WearableNavigationDrawerAdapter
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.support.wear.widget.drawer.WearableNavigationDrawerView.WearableNavigationDrawerAdapter | 
Adapter for specifying the contents of WearableNavigationDrawer.
Summary
Public constructors | |
|---|---|
      
      WearableNavigationDrawerView.WearableNavigationDrawerAdapter()
      
      
     | 
  |
Public methods | |
|---|---|
        abstract
        
        
        
        
        int
     | 
  
    
      
      getCount()
      
      
        Returns the number of items in this adapter.  | 
  
        abstract
        
        
        
        
        Drawable
     | 
  
    
      
      getItemDrawable(int pos)
      
      
        Get the drawable associated with the item at   | 
  
        abstract
        
        
        
        
        CharSequence
     | 
  
    
      
      getItemText(int pos)
      
      
        Get the text associated with the item at   | 
  
        
        
        
        
        
        void
     | 
  
    
      
      notifyDataSetChanged()
      
      
        This method should be called by the application if the data backing this adapter has changed and associated views should update.  | 
  
Inherited methods | |
|---|---|
  
    
  
    java.lang.Object
  
 | |
Public constructors
WearableNavigationDrawerView.WearableNavigationDrawerAdapter
WearableNavigationDrawerView.WearableNavigationDrawerAdapter ()
Public methods
getCount
int getCount ()
Returns the number of items in this adapter.
| Returns | |
|---|---|
int | 
        |
getItemDrawable
Drawable getItemDrawable (int pos)
Get the drawable associated with the item at pos.
| Parameters | |
|---|---|
pos | 
        
          int  | 
      
| Returns | |
|---|---|
Drawable | 
        |
getItemText
CharSequence getItemText (int pos)
Get the text associated with the item at pos.
| Parameters | |
|---|---|
pos | 
        
          int  | 
      
| Returns | |
|---|---|
CharSequence | 
        |
notifyDataSetChanged
void notifyDataSetChanged ()
This method should be called by the application if the data backing this adapter has changed and associated views should update.