public void fail(int code, String descr) {
runOnMainThread(new Runnable(code, descr)
{
public void run() {
if (ICallback.this.cb != null)
ICallback.this.cb.onError(this.val$code, this.val$descr);
else if (ICallback.this.valueCallback != null)
ICallback.this.valueCallback.onError(this.val$code, this.val$descr);
}
});
}
其实是编译器反编译的时候加上去的,实际是下面
public void fail(final int code,final String descr) {
IMContext.getInstance().runOnMainThread(new Runnable()
{
public void run() {
if (ICallback.this.cb != null)
ICallback.this.cb.onError(code, descr);
else if (ICallback.this.valueCallback != null)
ICallback.this.valueCallback.onError(code, descr);
}
});
}
网友评论