Open styliii opened 9 years ago
Can I get some help on how to refactor? The Mentions, User and and Home Timeline fragments all were extended from TweetsListFragment, but i couldn't figure out how to attach the onScrollListener without duplicating code.
Take a look at sample gist and read tip #2. Let me know if you need any other details around how to approach this.
Full review coming later.
:+1: Project looks good. Good job implementing the required stories, the UI looks clean but can be improved more.
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.
Thanks for the tip on refactoring @nesquena. Should have known it was in the helpful tips section! I refactored and will continue working on this.
/cc @codepath @codepathreview
My app is ready to review. I have all the requirements, and a couple extras. Will continue to work on it from here though.
Can I get some help on how to refactor? The Mentions, User and and Home Timeline fragments all were extended from TweetsListFragment, but i couldn't figure out how to attach the onScrollListener without duplicating code.