Android developers face challenges almost everyday during development: performance, security, backwards compatibility, testing... And mainly refactoring for it's own or legacy code. This repository contains a project to face an small challenge where the developer should add some new features, detect (and implement) patterns, add tests, re-think the architecture and do a clean code.
Game of Thrones for Android Challenge offers an app using an API to get data for Game of Thrones tv show. It's ready to run, it's working, but the code need to be improved. That's your challenge!
This repository contains an Android app that retrieve a list of some Game of Thrones' characters from an API. The app shows a list of the houses of the characters, the characters themselves and a detail description of each one.
This behaviour it's done in two diffent Activities, one for the two lists and other for details of the character:
-
HomeActivity
contains two Fragments in a ViewPagerGoTListFragment
shows a list of some the this tv show's characters.GoTHousesListFragment
shows a list of the noble houses of the characters
-
DetailActivity
shows the name, photo and description of a character
Your task as Android Developer is clone or fork this repository into one yours, add some functionalities and refactor the code before you give access to your repository.
The code in this application it's ready to be imported into your Android Studio and ready to run it (and see it working) without any change
- Search characters by name in the characters list
- Create a list of a characters by house, accessing to it by clicking a house image in the list of houses
- Capability to work offline
- Refactor the code
- Tests the main logic and a high level flows.
- Add transitions between list and detail
- Add parallax effect into detail page
- Generate the application apk and place it into a distribution folder
- Notify by email to [email protected] which branch you want our Android team analyze
- Have a rest after this "beautiful" code
#License
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.