1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
public
Handler() {
this
(
null
,
false
);
}
public
Handler(Looper looper) {
this
(looper,
null
,
false
);
}
public
Handler(Looper looper, Callback callback) {
this
(looper, callback,
false
);
}
public
interface
Callback {
public
boolean
handleMessage(Message msg);
}
|
1
2
3
4
5
6
7
|
new
Handler(
new
Handler.Callback() {
@Override
public
boolean
handleMessage(Message msg) {
UpdateUI();
return
false
;
}
});
|