Android starter project

Starting an android project from scratch requires quite a bit of boilerplate setup which involves getting all the dependencies which are up to date which itself is quite a bit of effort in itself which might take hours to do it in a correct way. Here are some of the pain points when starting new android project from scratch

Dependencies: Getting all the dependencies which are up to date itself is quite a bit of effort in itself which might take hours to do it in a correct way

Extension functions: There might be many useful extension functions we have already might be using in other projects and if we want to use those we need to remember the name of those file and copy paste it into our new project every time.

CI/CD: Setting up CI/CD is one of the first step I would prefer to do when starting a new project so that all my lint checks, unit tests are run on every push to make sure the code is working on every change.

Now imagine doing all this every time we start new android project, whether be it for a new hobby project, to try out some new android feature or anything. By the time we finish setting up all of this we might no longer be having any energy to actually work on what we set out to or even worse thinking of all these boilerplate that needs to be setup even before trying out anything can make us to not try anything instead.

This starter project can even come in handy when we have to start a code challenge when interviewing for new role.

I would always recommend to keep a starter project so that it will be easy to try out any new ideas, new API’s..etc. All you have to do is keep updating the starter project occasionally and it will be breeze to start new projects when required.

Here’s my starter project. Feel free to fork it and build on top of it. Its still a work in progress and i will be updating it regularly.

Untill next time