Nguyễn Trọng Tân
New member
What is the use of getMenuInflater in Android?
Answer
You use it to get a MenuInflater . A MenuInflater can
“inflate” menu resources, converting the XML representation into a tree of Menu and MenuItem objects. In turn, those objects are used to populate things like the action bar and Toolbar widgets. This class is used to instantiate menu XML files into Menu objects.
Answer
You use it to get a MenuInflater . A MenuInflater can
“inflate” menu resources, converting the XML representation into a tree of Menu and MenuItem objects. In turn, those objects are used to populate things like the action bar and Toolbar widgets. This class is used to instantiate menu XML files into Menu objects.