Josias Sena Posts

01/02/2018

6 min readIn a real project, most android applications make network requests, and we should be testing these network requests. Initially I started with my network request testing with MockWebServer but ended up using RESTMock instead, due to its useful additional features and simplicity. I really enjoyed using, and it made a lot…

09/18/2017

4 min readThere are many libraries out there of fancy circular loading views based on percentages and whatnot, but they do not always cover all the things developers and/or organization want them to do. Honestly, I never looked at the source code for the circular loading libraries, and over the past week…

09/07/2017

4 min readThis article will explain how to write unit tests with dependency injection (DI) using Dagger 2. I will assume you are already familiar with Mockito and Dagger 2. Quick tip before getting started, when using Dagger 2 in a library project, instead of an application, make sure you add the…

07/10/2017
06/27/2017

2 min readThere are many Android libraries out there which allow us to create an event bus without much work. But many times we do not want the overhead of everything else that comes along with third-party libraries. Lets take a moment to discuss how we can very easily create an event…