Answers

Question and Answer:

  Home  Java Game Developer

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

“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.

 134 views

More Questions for you: