Java Code Examples for android.support.v4.view.MenuItemCompat#OnActionExpandListener

The following examples show how to use android.support.v4.view.MenuItemCompat#OnActionExpandListener . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SupportMenuItem.java    From CodenameOne with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Set an {@link android.support.v4.view.MenuItemCompat.OnActionExpandListener} on this menu item to be notified when the associated
 * action view is expanded or collapsed. The menu item must be configured to expand or collapse
 * its action view using the flag {@link #SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW}.
 *
 * @param listener Listener that will respond to expand/collapse events
 * @return This menu item instance for call chaining
 */
public SupportMenuItem setSupportOnActionExpandListener(MenuItemCompat.OnActionExpandListener listener);
 
Example 2
Source File: SupportMenuItem.java    From adt-leanback-support with Apache License 2.0 2 votes vote down vote up
/**
 * Set an {@link android.support.v4.view.MenuItemCompat.OnActionExpandListener} on this menu item to be notified when the associated
 * action view is expanded or collapsed. The menu item must be configured to expand or collapse
 * its action view using the flag {@link #SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW}.
 *
 * @param listener Listener that will respond to expand/collapse events
 * @return This menu item instance for call chaining
 */
public SupportMenuItem setSupportOnActionExpandListener(MenuItemCompat.OnActionExpandListener listener);
 
Example 3
Source File: SupportMenuItem.java    From android-recipes-app with Apache License 2.0 2 votes vote down vote up
/**
 * Set an {@link android.support.v4.view.MenuItemCompat.OnActionExpandListener} on this menu item to be notified when the associated
 * action view is expanded or collapsed. The menu item must be configured to expand or collapse
 * its action view using the flag {@link #SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW}.
 *
 * @param listener Listener that will respond to expand/collapse events
 * @return This menu item instance for call chaining
 */
public SupportMenuItem setSupportOnActionExpandListener(MenuItemCompat.OnActionExpandListener listener);
 
Example 4
Source File: SupportMenuItem.java    From V.FlyoutTest with MIT License 2 votes vote down vote up
/**
 * Set an {@link android.support.v4.view.MenuItemCompat.OnActionExpandListener} on this menu item to be notified when the associated
 * action view is expanded or collapsed. The menu item must be configured to expand or collapse
 * its action view using the flag {@link #SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW}.
 *
 * @param listener Listener that will respond to expand/collapse events
 * @return This menu item instance for call chaining
 */
public SupportMenuItem setSupportOnActionExpandListener(MenuItemCompat.OnActionExpandListener listener);
 
Example 5
Source File: SupportMenuItem.java    From guideshow with MIT License 2 votes vote down vote up
/**
 * Set an {@link android.support.v4.view.MenuItemCompat.OnActionExpandListener} on this menu item to be notified when the associated
 * action view is expanded or collapsed. The menu item must be configured to expand or collapse
 * its action view using the flag {@link #SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW}.
 *
 * @param listener Listener that will respond to expand/collapse events
 * @return This menu item instance for call chaining
 */
public SupportMenuItem setSupportOnActionExpandListener(MenuItemCompat.OnActionExpandListener listener);