0

What does the first few lines in android really mean?

I mean .. these lines..... public class FindBeerActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_find_beer); } }

28th Nov 2020, 6:11 AM
Mons Joseph
Mons Joseph - avatar
2 odpowiedzi
+ 1
Activity comprises the visual components (”Views”) for one screen as well as the code that can respond to user events on that screen. Almost every application has at least one Activity class. The oneCreate() method gets invoked when the activity is instantiated in response to e.g., you clicked on the app's Icon in the Home Screen.
28th Nov 2020, 6:53 AM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar