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 trialKevin Lavi
3,311 PointsFriends showing up in Inbox Tab
So I'm in middle of Displaying Our List of Friends and everything is going great, but when I run the app my friends show up in the Inbox, not the friends tab. I feel like this should be a simple fix but I'm not so sure where to look. I also don't want to throw all of my code at you guys because it's obviously a lot. Can anyone just direct me to where I should be looking to solve this problem?
2 Answers
Kevin Lavi
3,311 PointsI actually figured it out. It was my SectionsPageAdapter class. I had put the hardcoded strings in the right place, but not the actual fragment. So although it showed Inbox on the left and friends on the right, the inbox was actually the friends list and vice versa. Easy fix.
Calvin Nix
43,828 PointsHey Kevin,
You probably just added the code to list the friends in the InboxActivity. (It has been a while since I finished this course so I do not remember the exact name of the classes)
Thanks, Calvin