PokeDex
A sample pokedex application that serves as a playground for me to try out testing and other best practices.
Install / Use
/learn @AdamMc331/PokeDexREADME
PokeDex
A sample pokedex application that serves as a playground for me to try out testing and other best practices.
This should be a good example of MVVM architecture, along with how to use reactive flows. There will be full unit and UI test support as well.
Network Mocking
If you landed here to learn about Espresso testing and MockWebServer, check out the following resources:
- This pull request to implement MockWebServer.
- This blog post on the robot pattern.
- This blog post on MockWebServer.
Unit Testing
If you landed here to learn about unit testing, check out the following resources:
- This blog post to on overriding Schedulers/Dispatchers.
- This pull request which demonstrates adding the robot pattern for unit tests.
Coroutines
Want to see code examples of coroutines, and compare them to RxJava? You could analyze this pull request.
Repository Pattern
Check out this blog post for understanding the Repository Pattern.
Static Analysis
In October 2019 I spoke at the NY Android Developers meetup and presented on static analysis tools. I used this repo as a sample project. You can find the slides here.
