A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/android/reference/com/google/android/gms/tasks/OnCompleteListener below:

OnCompleteListener | Google Play services

Stay organized with collections Save and categorize content based on your preferences.

public interface OnCompleteListener<TResult>

Listener called when a Task completes.

Parameters <TResult>

the Task's result type

Summary

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`OnCompleteListener` is an interface in Android used for listening to the completion of a `Task`."],["It provides a callback method, `onComplete`, which is triggered when the `Task` finishes, whether successful or failed."],["The `onComplete` method receives the completed `Task` as a parameter, allowing developers to access the results or handle any errors."],["This interface is useful for performing actions or updating UI elements based on the outcome of asynchronous operations."]]],["`OnCompleteListener` is an interface that listens for the completion of a `Task`. It defines the `onComplete` method, which is called when a `Task` finishes. This method receives a non-null `Task` object as a parameter, representing the completed task. The result type of the `Task` is specified by `\u003cTResult\u003e`. The `addOnCompleteListener` method allows the addition of a listener to a Task.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4