- Make sure you have a GitHub account.
- Open a GitHub issue for your bug-fix/feature, assuming one does not already exist.
- Clearly describe the issue including steps to reproduce when it is a bug.
- Fork the repository on GitHub.
- Download Android Studio.
- Download this repository from Github.
- Open Android Studio -> Import Project -> select the folder containing this repository.
- You may have to download additional versions of the Android SDK through Android Studio.
This project uses Google's Java code style formatter rules instead of the Android code style used by default in Android Studio. intelij-java-google-style.xml contains these rules. This can be imported at Android Studio -> Preferences -> Code Style -> Manage
- Create a topic branch from where you want to base your work.
- This is usually the master branch.
- To quickly create a topic branch based on master;
git checkout -b fix/master/my_contribution master. Please avoid working directly on themasterbranch.
- Make commits of logical units.
- Check for unnecessary whitespace with
git diff --checkbefore committing. - (Recommended) Run the Android Studio code formatter on files you've modified.
- Run the androidTest unit tests if you have made changes to any classes with test coverage.
For changes of a trivial nature to comments and documentation, it is not necessary to open a tracking github issue.
- Push your changes to a topic branch in your fork of the repository.
- Submit a pull request to the official repository