This repository contains sample app that implements MVP architecture
- adapter: It contains Adapters.
- model: Contains model classes.
- network: Services for the application.
- presenter: Presenters and Infractor classes.
- view: View classes.
1- CircleImageView: https://github.com/hdodenhof/CircleImageView
2- Glide: https://github.com/bumptech/glide
3- Retrofit: https://github.com/square/retrofit
1- open your Android Studio
2- Click on Open an existing Android Studio project then you’ll get a dialog box for select project
3- Here, browse your project by navigating the location where you kept your project, your project’s folder will appear with an Android logo
4- Select the app and click OK, this will take some time for the Gradle to build, wait for the loading time. (You might get error here stating the different SDK location)
5- In case of the above error just click on OK
6- You have now successfully imported the project in Android Studio.
To run your local unit tests, follow these steps:
1- Be sure your project is synchronized with Gradle by clicking Sync Project in the toolbar.
2- Run your test in one of the following ways:
- To run a single test, open the Project window, and then right-click a test and click Run .
- To test all methods in a class, right-click a class or method in the test file and click Run .
- To run all tests in a directory, right-click on the directory and select Run tests .