FileDocCategorySizeDatePackage
Handler_Delegate.javaAPI DocAndroid 5.1 API1738Thu Mar 12 22:22:44 GMT 2015android.os

Handler_Delegate

public class Handler_Delegate extends Object
Delegate overriding selected methods of android.os.Handler Through the layoutlib_create tool, selected methods of Handler have been replaced by calls to methods of the same name in this delegate class.

Fields Summary
private static final ThreadLocal
sCallbacks
Constructors Summary
Methods Summary
static booleansendMessageAtTime(Handler handler, Message msg, long uptimeMillis)

        // get the callback
        IHandlerCallback callback = sCallbacks.get();
        if (callback != null) {
            callback.sendMessageAtTime(handler, msg, uptimeMillis);
        }
        return true;
    
public static voidsetCallback(android.os.Handler_Delegate$IHandlerCallback callback)


         
        sCallbacks.set(callback);