optimistAk / androidtraining

Android Training
0 stars 1 forks source link

Fragments in Android, test with the twitter client with fragments added (Week4) #4

Open optimistAk opened 10 years ago

optimistAk commented 10 years ago

Hello,

This is my submission for this week's homework to explore and use Fragments, over my earlier twitter client.

https://github.com/optimistAk/androidtraining/tree/master/advanced_twitter_fragments

This has the home and mentions as fragments, reusing the same fragment class and methods to construct and render them.

(/cc @nesquena @timothy1ee)

QQ, any other pointers on getting deep into fragments, especially samples where they are used extensively would be appreciated. Thanks much.

nesquena commented 10 years ago

:+1: Project looks good. I have provided a detailed Project 4 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you might be able to improve your submission.

Let us know if you have any other thoughts or questions about this assignment. Hopefully you can see this coming together as a "fully fledged" twitter client with some more work and polish. This app contains all of the components now (fragments, models, networking, client, tab navigation, image loading, et al) of 90% of dynamic data-driven API client. Obviously there are lots of details and patterns to learn, but by this point you have been introduced to all the major frameworks and concepts. Hopefully you would feel fairly confident getting started making Android apps for instagram, pinterest, yardsale, flickr, using the same patterns.

QQ, any other pointers on getting deep into fragments, especially samples where they are used extensively would be appreciated. Thanks much.

Sure, check out this flexible layout guide which is a step-by-step tutorial on more complex use of fragments to support tablets vs phones.