开发者

Does activity requires Handler in android?

In an Android module,开发者_开发知识库 does an activity requires Handler to be defined ?


No a handler is a separate object class and so one would not need to be defined if you were making an Activity.

Activity

A handler would be used if you wanted to go do something in another thread/class and call back to the activity/ui.

Handler

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜