-
Notifications
You must be signed in to change notification settings - Fork 111
Entrega do Desafio Android — QuizApp (André Brito Vita) #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
andrebritovita
wants to merge
41
commits into
dynamox-s-a:main
Choose a base branch
from
andrebritovita:andre-vita
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,379
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Migrate project to Version Catalog (libs.versions.toml) - Upgrade to Kotlin 2.0.21 and KSP - Set compileSdk and targetSdk to 35 (Android 15) with Java 17 - Add Clean Architecture libs: Hilt, Retrofit, Room, and Navigation
…fit interface - Implement Domain Model: Question - Add DTO models (QuestionDto, AnswerRequest, AnswerResponse) - Add mapper QuestionDto.toDomainQuestion() - Create Retrofit interface QuizApi (endpoints GET /question e POST /answer) - Prepare base structure for RemoteDataSource (Retrofit initialization pending) - Core setup in progress: Room, Navigation e Hilt serão adicionados nos próximos commits
- Create QuizApplication class with @HiltAndroidApp - Register application class in AndroidManifest
- Implement AppModule with Retrofit and Gson converter - Provide Singleton instance of QuizApi
- Create ScoreEntity with primary key and columns - Create ScoreDao with insert and flow query - Configure QuizDatabase abstract class
- Add RemoteDataSource and LocalDataSource interfaces/impls - Implement QuizRepositoryImpl with error handling and DTO mapping - Create DataModule and RepositoryModule for Hilt dependency injection
… ObserveScores) - Add simple pass-through use cases for repository operations - Document use case responsibilities
- Create reusable PrimaryButton and SecondaryButton components - Create QuizLogo component - Build WelcomeScreen layout with input validation and navigation callbacks
- Add vector drawable for app logo - Add string resources for English, Portuguese, and Italian
Contributor
|
Hello @andrebritovita! Thanks for your submission. Just letting you know that we got your pull request and are in the process of reviewing it. We will soon provide you with our considerations. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Entrega do Desafio Android — QuizApp (André Brito Vita)
Este Pull Request contém a implementação completa do QuizApp, desenvolvido na branch
andre-vitaconforme solicitado no desafio.A solução foi construída seguindo boas práticas modernas do ecossistema Android, com foco em Clean Architecture, Jetpack Compose, testabilidade e experiência do usuário.
Requisitos Obrigatórios
Diferenciais Implementados
Como executar
O projeto está localizado no diretório
QuizApp/dentro da branchandre-vita.Basta abrir essa pasta no Android Studio e executar normalmente.
Instruções completas estão em
QuizApp/README.md.Como testar
Testes unitários:
./gradlew testTestes instrumentados:
./gradlew connectedAndroidTestScreenshots e Demo
Imagens das telas e um GIF demonstrando o fluxo completo estão disponíveis no
README.md.Observações finais
A solução foi desenvolvida com foco em clareza arquitetural, estabilidade e boa experiência do usuário.
Fico à disposição para revisar detalhes, apresentar o app ou esclarecer qualquer decisão técnica.