Tabnine Logo
ShareActionProvider$ShareAcitivityChooserModelPolicy
Code IndexAdd Tabnine to your IDE (free)

How to use
ShareActionProvider$ShareAcitivityChooserModelPolicy
in
com.actionbarsherlock.widget

Best Java code snippets using com.actionbarsherlock.widget.ShareActionProvider$ShareAcitivityChooserModelPolicy (Showing top 2 results out of 315)

origin: com.willowtreeapps/oak-demos

/**
 * Set the activity chooser policy of the model backed by the current
 * share history file if needed which is if there is a registered callback.
 */
private void setActivityChooserPolicyIfNeeded() {
  if (mOnShareTargetSelectedListener == null) {
    return;
  }
  if (mOnChooseActivityListener == null) {
    mOnChooseActivityListener = new ShareAcitivityChooserModelPolicy();
  }
  ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName);
  dataModel.setOnChooseActivityListener(mOnChooseActivityListener);
}
origin: com.actionbarsherlock/actionbarsherlock

/**
 * Set the activity chooser policy of the model backed by the current
 * share history file if needed which is if there is a registered callback.
 */
private void setActivityChooserPolicyIfNeeded() {
  if (mOnShareTargetSelectedListener == null) {
    return;
  }
  if (mOnChooseActivityListener == null) {
    mOnChooseActivityListener = new ShareAcitivityChooserModelPolicy();
  }
  ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName);
  dataModel.setOnChooseActivityListener(mOnChooseActivityListener);
}
com.actionbarsherlock.widgetShareActionProvider$ShareAcitivityChooserModelPolicy

Javadoc

Policy that delegates to the OnShareTargetSelectedListener, if such.

Most used methods

  • <init>

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top PhpStorm plugins
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