Skip to content

4. Contributing

Kenny Campagna edited this page Nov 24, 2015 · 4 revisions

If contributing to Opengur, you MUST follow the following guidlines.

#1. Code Format All code should follow the formatting found here. Failure to follow this format will result in any pull requests being rejected.

#2. Pull Requests If submitting a pull request, make sure to submit against development or any feature branch that might be being worked on. Any requests made against master will be rejected. Also make sure to be building off of development or any feature branch.

#3. Logging Any logging done within the app should go through the LogUtil.java class. By default, logging is disabled on production builds, it can however be enabled in the settings. For this reason the LogUtil class exists so that log statements aren't being made on production builds.

LogUtil.e(TAG, "Something went wrong", throwable);

#4. Abstract Classes If creating a new activity, fragment, adapter, or Imgur Object, the new class MUST extend one of the classes defined here.

#5. Lists All lists must be a RecyclerView to cooperate correctly with the support library scrolling features.

Clone this wiki locally