Package 

Class MenuListAdapter

  • All Implemented Interfaces:
    android.widget.Adapter , android.widget.ListAdapter , android.widget.SpinnerAdapter

    
    public class MenuListAdapter
    extends BaseAdapter
                        

    Adapter that displays a Menu using MenuItemViews.

    • Method Summary

      Modifier and Type Method Description
      void setMenu(@Nullable() Menu menu)
      int getCount()
      MenuItem getItem(int index)
      long getItemId(int i)
      View getView(int i, View view, ViewGroup parent)
      • Methods inherited from class android.widget.BaseAdapter

        areAllItemsEnabled, getAutofillOptions, getDropDownView, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserver
      • Methods inherited from class android.widget.Adapter

        getCount, getItem, getItemId, getView
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait