The Java files which we have (either automatically generated or modified for more features – those which need android specific APIs) don’t have proper formatting at the moment. There’s some confusion between spaces vs tabs which leads to confusing editors as to what to use. This may result in silly errors in PRs and is a headache in general.
- Incorporate a automatic file formatter and hook it pre-commit.
- Use the in-built auto formatting feature which Android Studio has might be good enough if style is enforced using that method. It will provide consistent styling support across development machines.