Java Game Developer Question:

Explain me what Is “onsurfacecreated” In Android Game Development?

Tweet Share WhatsApp

Answer:

“OnsurfaceCreated” is called every time the drawing surface is created. This can happen when the application starts or when it becomes active after being sent to the background or when the orientation changes. After a context loss, all these events are triggered, so every asset will be lost and have to be recreated. All assets and application objects should be recreated at this place.

Download Java Game Developer PDF Read All 50 Java Game Developer Questions
Previous QuestionNext Question
Tell us in Java Game Development What Does The Animation Thread Class Holds?Tell us what Are The Common Errors Done By Programmer While Programming?