Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Android Lists and Adapters (2015) Updating the Data Model Introducing the Project

MVC details

which classes of this app correspond to the model, view and controller respectively? in which video Ben explains that?

Does the view correspond only to the layouts or also to the classes that interact with the layout views?

1 Answer

John McDonald
John McDonald
13,958 Points

The Models in an app are Java class containing data and getter and setter methods for that data. The Views in the app are the layout resources in the app. The Controllers in the app are the Java files that interact with the Views.

This topic is discussed in the "Build an Interactive Story App Course" which can be found here.