Tabnine Logo
ActionBarSherlock$OnActionModeStartedListener
Code IndexAdd Tabnine to your IDE (free)

How to use
ActionBarSherlock$OnActionModeStartedListener
in
com.actionbarsherlock

Best Java code snippets using com.actionbarsherlock.ActionBarSherlock$OnActionModeStartedListener (Showing top 3 results out of 315)

origin: com.willowtreeapps/oak-demos

((OnActionModeStartedListener)mActivity).onActionModeStarted(mActionMode);
origin: com.actionbarsherlock/actionbarsherlock

((OnActionModeStartedListener)mActivity).onActionModeStarted(mActionMode);
origin: com.actionbarsherlock/actionbarsherlock

@Override
public ActionMode startActionMode(com.actionbarsherlock.view.ActionMode.Callback callback) {
  if (ActionBarSherlock.DEBUG) Log.d(TAG, "[startActionMode] callback: " + callback);
  if (mActionMode != null) {
    mActionMode.finish();
  }
  ActionModeCallbackWrapper wrapped = null;
  if (callback != null) {
    wrapped = new ActionModeCallbackWrapper(callback);
  }
  //Calling this will trigger the callback wrapper's onCreate which
  //is where we will set the new instance to mActionMode since we need
  //to pass it through to the sherlock callbacks and the call below
  //will not have returned yet to store its value.
  if (mActivity.startActionMode(wrapped) == null) {
    mActionMode = null;
  }
  if (mActivity instanceof OnActionModeStartedListener && mActionMode != null) {
    ((OnActionModeStartedListener)mActivity).onActionModeStarted(mActionMode);
  }
  return mActionMode;
}
com.actionbarsherlockActionBarSherlock$OnActionModeStartedListener

Javadoc

Activity interface for action mode started callback.

Most used methods

  • onActionModeStarted

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now