Interviewer And Interviewee Guide

Android Developer Interview Question:

Explain me how does the activity respond when the user rotates the screen?

Submitted by: Muhammad
When the screen is rotated, the current instance of activity is destroyed a new instance of the Activity is created in the new orientation. The onRestart() method is invoked first when a screen is rotated. The other lifecycle methods get invoked in the similar flow as they were when the activity was first created.
Submitted by: Muhammad

Read Online Android Developer Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.