I am new to android trying to understand what the below method does
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
// load the layout
setContentView(R.layout.filters);
}
My research ::
- onCreate is used to start an activity
- super is used to call the parent class constructor
- setContentView is used to set the xml
But what is this all together -
onCreate(Bundle savedInstanceState)
.... why did that bundle come there, what is it- What is that
super.onCreate(savedInstanceState);
some explanation in layman terms would be helpful