Java Game Developer Question:
Download Questions PDF

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

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 Interview Questions And Answers PDF

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?