Release 0.2 – Feb 15 Update

After contributing to my first open source project FilerJS, it was time to start contributing to more open source projects. This week, I worked on Sloth android application which is managed by Kolten Sturgill.

Sloth is an Android note-taking app developed by Mobi Social Coding Team. I had to redirect the user to a new settings page when clicked. At first, the issue seemed pretty easy but, setting up the environment took me more than three hours. And then understanding the code was also a bit difficult. I asked for permission to work on it.

Setting up the Environment

  1. I forked the repository.
  2. I cloned the repo and opened it in Android Studio.
  3. I faced version problems, so had to tweak the build.gradle file.
  4. Then I built the project on my physical device, to check there were no errors.

Code Changes

Now, it was time to make code changes. I modified the file to redirect the user to the new settings page. I had to add two lines in the if statement.

After modifying, I had to add a new and activity_settings.xml to the project.

After making all the changes, I then re-tested the application to make sure it wasn’t breaking. And then, I pushed my change to a new branch referencing the issue. My changes got merged with the master branch luckily.

Pull Request Link

Issue Link

Stay tuned!!!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s