Exemple #1
0
Handler::Handler(Looper& looper) {
    mMessageQueue = &looper.myMessageQueue();
    mRunnableQueue = &looper.myRunnableQueue();
}
Exemple #2
0
Handler::Handler(Looper& looper) {
	mMessageQueue = looper.myMessageQueue();
}
Exemple #3
0
Handler::Handler() {
    Looper* looper = Looper::myLooper();
    Assert::assertNotNull(looper);
    mMessageQueue = &looper->myMessageQueue();
    mRunnableQueue = &looper->myRunnableQueue();
}
Exemple #4
0
Handler::Handler() {
	Looper* looper = Looper::myLooper();
	assert(looper != NULL);
	mMessageQueue = looper->myMessageQueue();
}