What is Android's icicle parameter?

后端 未结 2 1557
伪装坚强ぢ
伪装坚强ぢ 2020-12-25 10:26

I\'ve noticed in some coding people use icicle with the onCreate method, and I was wondering what it is exactly:

public class About extends Activity {
    @O         


        
2条回答
  •  佛祖请我去吃肉
    2020-12-25 10:56

    The name isn't magic. It's just a placeholder for one of the formal parameters. As shown by the API, onCreate takes one Bundle parameter. It's up to you what to call it.

提交回复
热议问题