What is onCreateOptionsMenu in android?

What is onCreateOptionsMenu in android?
Answer
You use onCreateOptionsMenu()
to specify the options menu for an activity
. In this method, you can inflate your menu resource (defined in XML) into the Menu provided in the callback.
 

Tìm kiếm

Back
Top