开发者

Does activity requires Handler in android?

开发者 https://www.devze.com 2023-03-30 05:30 出处:网络
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.

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

精彩评论

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

关注公众号