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

org.solovyev.android.menu.ActivityMenu 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: 4/23/12
 * Time: 1:56 PM
 */

/**
 * Menu for activity
 * @param  menu type (may differ from android.view.Menu, e.g. in Android Sherlock Library)
 * @param  menu item type (may differ from android.view.MenuItem, e.g. in Android Sherlock Library)
 */
public interface ActivityMenu {

    boolean onCreateOptionsMenu(@NotNull Activity activity, @NotNull M menu);

    boolean onPrepareOptionsMenu(@NotNull Activity activity, @NotNull M menu);

    boolean onOptionsItemSelected(@NotNull Activity activity, @NotNull MI item);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy