org.solovyev.android.menu.ActivityMenu Maven / Gradle / Ivy
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