Solvative interview question

Android Basics theoretical, a coding assignment.