文件名称:handler发送和接收message的各种方式
文件大小:1.46MB
文件格式:RAR
更新时间:2017-08-02 18:47:34
handler
handler发送和接收message的各种方式 (1)Handler.SendEmptyMessage(what); (2)Handler.obtainMessage(int what, int arg1, int arg2, Object obj).sendYToTarget(); (3)Message.obtain(handler, MESSAGE_MSG, 0, 0, msg).sendToTarget(); (4)Message message = Message.obtain(); message.what = PROGRESS_MSG; message.arg1 = progress; handler.sendMessage(message); (5)handler.post(Runnable callback)
【文件预览】:
handlerSendAndGetDemo
----bin()
--------classes.dex(437KB)
--------res()
--------day3001_handlerSendAndGetDemo.apk(425KB)
--------jarlist.cache(119B)
--------dexedLibs()
--------classes()
--------resources.ap_(273KB)
--------AndroidManifest.xml(1KB)
----res()
--------drawable-ldpi()
--------values-v11()
--------menu()
--------values-v14()
--------drawable-hdpi()
--------drawable-xhdpi()
--------drawable-xxhdpi()
--------values()
--------drawable-mdpi()
--------layout()
----proguard-project.txt(781B)
----ic_launcher-web.png(4KB)
----assets()
----gen()
--------com()
----.settings()
--------org.eclipse.jdt.core.prefs(177B)
----src()
--------com()
----.project(865B)
----.classpath(364B)
----project.properties(563B)
----AndroidManifest.xml(1KB)
----libs()
--------android-support-v4.jar(377KB)