Flags Quiz is a quiz game (trivia) application that tests the user’s ability to correctly identify flags from around the world based on modern Android application tech-stacks and MVVM architecture.
- More than 180 flags, categorized by continent.
- Quiz of 10 random flags per continent.
- Indicate correct and wrong answer.
- Quiz ends when get 3 answers wrong.
- Share result of the quiz when won.
- History of past quiz.
- Store user name and change later from settings.
- Dark mode support.
- Spanish translation.
- Minimum SDK level 21.
- Kotlin - official programming language for Android development.
- Coroutines - for asynchronous programming.
- Android Architecture Components - collection of libraries that help you design robust, testable, and maintainable apps.
- LiveData - data objects that notify views when the underlying database changes.
- Data Binding - data objects to bind UI components in your layouts to data sources in your app.
- ViewModel - stores UI-related data that isn't destroyed on UI changes.
- Room - access your app's SQLite database with in-app objects and compile-time checks.
- Lifecycle - components to perform actions in response to a change in the lifecycle status of another component, such as activities and fragments.
- Navigation - interactions that allow users to navigate across, into, and back out from the different pieces of content within your app.
- Fragment - represents a behavior or a portion of user interface in a FragmentActivity.
- RecyclerView - for display a scrolling list of elements based on large data sets.
- Preference - allows to build interactive settings screens, without needing to handle interacting with device storage or managing the user interface.
- Material-Components - Material design components.
This app uses MVVM (Model View View-Model) architecture.
Awesome! If you would like to contribute you're always welcome!
Copyright 2020 Anibal Ventura
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.