Practice 30 Pinterest interview questions covering visual discovery, creator partnerships, and product thinking.
Question 12 of 30
How to Answer
Example Answer
Community Answers

Ryan Brunner has over ten years of experience recruiting, interviewing, and hiring candidates in the healthcare, public service, and private manufacturing/distribution industries.
In the development of apps for both iOS and Android, using code to create an activity versus a fragment is a highly debated topic to this day. For this question, your interviewer is looking to hear that you understand the differences between the two and when you feel that using a fragment is the proper direction to go. Make sure to speak to the high-level overview of what an activity does to an app versus fragments.

Ryan Brunner has over ten years of experience recruiting, interviewing, and hiring candidates in the healthcare, public service, and private manufacturing/distribution industries.
"As a best practice in my development of Android apps in the past, activities are really the complete screen that a user experiences as part of the app. Fragments are really small sub-activities that take place within the activity. Because fragments within an app have their own life cycle and receive their own input events within the app, there are specific times when fragments make the most sense in development. In my experience, I always use fragments when the app is working with UI components that will be used across multiple activities within the app. As well, fragments have also served very well when using swipe views within the app."
Write Your Answer
0 - Character Count
Prepare for questions about inspiration platforms and user-generated content ecosystems.
Get StartedJump to Question

Written by Ryan Brunner
30 Questions & Answers • Pinterest

By Ryan

By Ryan