All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.solovyev.android.menu.MenuHelper Maven / Gradle / Ivy

There is a newer version: 1.1.18
Show newest version
package org.solovyev.android.menu;

import android.app.Activity;
import org.jetbrains.annotations.NotNull;

/**
 * User: serso
 * Date: 8/4/12
 * Time: 2:49 PM
 */
public interface MenuHelper {

    int size(@NotNull M menu);

    @NotNull
    MI add(@NotNull M menu, int groupId, int itemId, int orderId, @NotNull String caption);

    public void setOnMenuItemClickListener(@NotNull MI menuItem, @NotNull AMenuItem onMenuItemClick, @NotNull Activity activity);

    void removeItem(@NotNull M menu, @NotNull Integer menuItemId);

    void inflateMenu(@NotNull Activity activity, int layoutId, @NotNull M menu);

    @NotNull
    Integer getItemId(@NotNull MI item);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy