问题描述
是否有意向的生命周期?
如果意图有生命周期的,它是什么样的生命周期?
Does the Intent have life cycle?If the Intent has life cycle,what is it like in the life cycle?
推荐答案
要么我真的不知道你的意思,或者你不完全理解的的。
Either I'm not really sure what you mean, or you do not fully understand an intent.
这是意图的消息。它是用于启动某种过程,无论是明确地通过命名的活性,或隐。它可以有一些数据要发送到的意图。
An intent is a message. It is used to start some sort of process, either explicitly by naming the activity, or implicitly. It can have some data to send to the intent.
如果你会做一个生命周期,它看起来像这样
If you would make a "lifecycle", it would look something like this
- 创建。
- 分辨率
- 破坏
它最喜欢的对象的生命周期,在这个意义上,它是制造,使用和销毁。它不具有像的活性的生命周期,具有呼叫和方法,所有的
It has a lifecycle like most objects, in the sense that it is made, used and destroyed. It does not have a lifecycle like an activity, with calls and methods and all that.
这篇关于该意向书的生命周期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!