Rabbit-R1/original r1/java/sources/androidx/appcompat/view/menu/MenuPresenter.java
2024-05-21 17:08:36 -04:00

40 lines
1 KiB
Java

package androidx.appcompat.view.menu;
import android.content.Context;
import android.os.Parcelable;
import android.view.ViewGroup;
/* loaded from: classes.dex */
public interface MenuPresenter {
/* loaded from: classes.dex */
public interface Callback {
void onCloseMenu(MenuBuilder menuBuilder, boolean z);
boolean onOpenSubMenu(MenuBuilder menuBuilder);
}
boolean collapseItemActionView(MenuBuilder menuBuilder, MenuItemImpl menuItemImpl);
boolean expandItemActionView(MenuBuilder menuBuilder, MenuItemImpl menuItemImpl);
boolean flagActionItems();
int getId();
MenuView getMenuView(ViewGroup viewGroup);
void initForMenu(Context context, MenuBuilder menuBuilder);
void onCloseMenu(MenuBuilder menuBuilder, boolean z);
void onRestoreInstanceState(Parcelable parcelable);
Parcelable onSaveInstanceState();
boolean onSubMenuSelected(SubMenuBuilder subMenuBuilder);
void setCallback(Callback callback);
void updateMenuView(boolean z);
}