1) when the lifetime of static nested class in Java begins? can static inner class be used before creation of the containing object?
I'm asking because I encountered the code:
LinearLayout.LayoutParams layoutParams1 = new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);
and I tried to answer the question:
2) what is LayoutParams to LinearLayout?
anyway if what I suspect doesn't relate to the syntax I would like to get answers for both 1 & 2.