This project is about combining various ideas and skills we’ve been practicing throughout my career path. They include:
● Connecting to The Guardian news API with Retrofit (was handling calling the API by hand and used Uri.Builder class to add query parameters to the URL).
● Parsing the JSON response with Gson.
● Used Paging library to load and display small chunks of data at a time.
● Displayed the images with Picasso.
● Handling error cases gracefully.
● Updating information regularly.
● Using RxJava for background operations (was using an AsyncTask).
● Doing network operations independent of the Activity lifecycle.
● Implement the Preference Fragment for user's preferred choices - Update and display the Preference Summary.
● Launch a Settings Activity from a menu in all activities.
● Used Room db and Architecture Components to save some articles.
● Managed to write Clean code.
● Start to apply Dependency injection with Dagger2.
● The app still in progress.
Really I will appreciate any feedback or suggestions :)
If you like it, don't forget to give it a star please ;)
(Latest one) http://bit.ly/2JObwwB
(OLD VERSION) https://youtu.be/PH8cJEZfQhw
Copyright 2018 [email protected]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.