Merge "Fix javadoc for Icon.loadDrawableAsync(Context, OnDrawableLoadedListener, Handler)." into nyc-dev
am: 527bcac
* commit '527bcac4d75f9efe80df0d07355f3f7fb54d9ef5':
Fix javadoc for Icon.loadDrawableAsync(Context, OnDrawableLoadedListener, Handler).
This commit is contained in:
@@ -243,13 +243,15 @@ public final class Icon implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Invokes {@link #loadDrawable(Context)} on a background thread
|
* Invokes {@link #loadDrawable(Context)} on a background thread and notifies the <code>
|
||||||
* and then runs <code>andThen</code> on the UI thread when finished.
|
* {@link OnDrawableLoadedListener#onDrawableLoaded listener} </code> on the {@code handler}
|
||||||
|
* when finished.
|
||||||
*
|
*
|
||||||
* @param context {@link Context Context} in which to load the drawable; see
|
* @param context {@link Context Context} in which to load the drawable; see
|
||||||
* {@link #loadDrawable(Context)}
|
* {@link #loadDrawable(Context)}
|
||||||
* @param listener a callback to run on the provided
|
* @param listener to be {@link OnDrawableLoadedListener#onDrawableLoaded notified} when
|
||||||
* @param handler {@link Handler} on which to run <code>andThen</code>.
|
* {@link #loadDrawable(Context)} finished
|
||||||
|
* @param handler {@link Handler} on which to notify the {@code listener}
|
||||||
*/
|
*/
|
||||||
public void loadDrawableAsync(Context context, final OnDrawableLoadedListener listener,
|
public void loadDrawableAsync(Context context, final OnDrawableLoadedListener listener,
|
||||||
Handler handler) {
|
Handler handler) {
|
||||||
|
|||||||
Reference in New Issue
Block a user