Tabnine Logo
OnRemoteOperationListener.onRemoteOperationFinish
Code IndexAdd Tabnine to your IDE (free)

How to use
onRemoteOperationFinish
method
in
com.owncloud.android.lib.common.operations.OnRemoteOperationListener

Best Java code snippets using com.owncloud.android.lib.common.operations.OnRemoteOperationListener.onRemoteOperationFinish (Showing top 2 results out of 315)

origin: nextcloud/android-library

  @Override
  public void run() {
    mListener.onRemoteOperationFinish(RemoteOperation.this, resultToSend);
  }
});
origin: owncloud/android-library

  /**
   * Asynchronous execution of the operation
   * started by {@link RemoteOperation#execute(OwnCloudClient,
   * OnRemoteOperationListener, Handler)},
   * and result posting.
   */
  @Override
  public final void run() {

    final RemoteOperationResult resultToSend = runOperation();

    if (mAccount != null && mContext != null) {
      // Save Client Cookies
      AccountUtils.saveClient(mClient, mAccount, mContext);
    }

    if (mListenerHandler != null && mListener != null) {
      mListenerHandler.post(() ->
          mListener.onRemoteOperationFinish(RemoteOperation.this, resultToSend));
    } else if (mListener != null) {
      mListener.onRemoteOperationFinish(RemoteOperation.this, resultToSend);
    }
  }
}
com.owncloud.android.lib.common.operationsOnRemoteOperationListeneronRemoteOperationFinish

Popular methods of OnRemoteOperationListener

    Popular in Java

    • Making http requests using okhttp
    • getSharedPreferences (Context)
    • getSystemService (Context)
    • getSupportFragmentManager (FragmentActivity)
    • BorderLayout (java.awt)
      A border layout lays out a container, arranging and resizing its components to fit in five regions:
    • Color (java.awt)
      The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
    • NoSuchElementException (java.util)
      Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
    • SSLHandshakeException (javax.net.ssl)
      The exception that is thrown when a handshake could not be completed successfully.
    • HttpServletRequest (javax.servlet.http)
      Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
    • BasicDataSource (org.apache.commons.dbcp)
      Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
    • 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