File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 <td>当Activity第一次被创建时调用.
1818 在这里进行初始化工作: 创建view, 为list绑定数据 等。<br/>
1919 如果Activity被杀死后重新初始化,你可以在savedInstanceState中得到被杀死之前 的某些状态信息。</td>
20- <td align="center">No </td>
20+ <td align="center">不允许 </td>
2121 <td align="center"><code>onStart()</code></td>
2222 </tr>
2323
2424 <tr><td rowspan="5" style="border-left: none; border-right: none;"> </td>
2525 <td colspan="2" align="left" border="0"><code><a href="https://developer.android.com/reference/android/app/Activity.html#onRestart()">onRestart()</a></code></td>
2626 <td>当Activity切换到后台再切换回来时会被调用。</td>
27- <td align="center">No </td>
27+ <td align="center">不允许 </td>
2828 <td align="center"><code>onStart()</code></td>
2929 </tr>
3030
3131 <tr><td colspan="2" align="left" border="0"><code><a href="https://developer.android.com/reference/android/app/Activity.html#onStart()">onStart()</a></code></td>
32- <td>Called when the activity is becoming visible to the user.
33- <p>Followed by <code>onResume()</code> if the activity comes
34- to the foreground, or <code>onStop()</code> if it becomes hidden.</td>
35- <td align="center">No</td>
36- <td align="center"><code>onResume()</code> or <code>onStop()</code></td>
32+ <td>当Activity对用户可见时调用。<p/>
33+ <p/>如果Activity进入前台则接下来调用<code>onResume()</code><br/>如果Activity被隐藏则接下来调用<code>onStop()</code> </td>
34+ <td align="center">不允许</td>
35+ <td align="center"><code>onResume()</code> 或者 <code>onStop()</code></td>
3736 </tr>
3837
3938 <tr><td rowspan="2" style="border-left: none;"> </td>
You can’t perform that action at this time.
0 commit comments