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 trialsameer sai
1,397 PointsWhat's the difference between ListActivity, ListFragment, DetailActivity & DetailFragment?
I'm really confused as to what each of these four individual files (BlogPostListActivity, BlogPostListFragment, BlogPostDetailActivity & BlogpostDetailFragment) actually do?
It would be great if someone could explain this to me.
Thank You
3 Answers
Harry James
14,780 PointsHello,
I will explain the 4 files below:
- BlogPostListActivity --> This activity which will link to the fragment below \/
- BlogPostListFragment --> This is where the blog posts are displayed.
- BlogPostDetailActivity --> This activity will link to the fragment below \/
- BlogPostDetailFragment --> This is where the actual blog post itself is displayed.
Hope it helps!
Laura Bailey
Courses Plus Student 534 PointsI think the V is being used as an arrow in this instance.
Harry James
14,780 PointsAh, yes. I didn't see this reply. Sorry!
Laura Bailey is right here, the V is simply being used as a down arrow :)
sameer sai
1,397 Pointssameer sai
1,397 PointsThanks Harry it really helped!. Does 'V' mean view here?