avidraghav.hashnode.devSimplifying AlarmManager: Understanding Alarm Scheduling in AndroidAfter reading the official documentation of AlarmManager, I found it a little hard to understand. This is my attempt to simplify it and explain things more easily. I hope you enjoy it. WorkManager: "My Documentation is difficult to get" Before begin...Jun 26, 2023·8 min read
avidraghav.hashnode.devTesting WorkManager Worker classes which use Assisted Dependency InjectionThis article is for someone who wants to write tests for the business logic inside their Worker classes that use Assisted Dependency Injection. Suppose you have a Worker which looks like below and you want to test its business logic. @HiltWorker clas...Mar 26, 2023·6 min read
avidraghav.hashnode.devTesting Strategy and it's Theory in AndroidWriting Tests for different components that go in production is really important specially when the app has a large user base. How we can define a good testing strategy? One should consider 3 aspects Scope - How much Code does the test covers? Un...Nov 28, 2021·3 min read
avidraghav.hashnode.devIntercepting Network Requests in Android via OkHttp Interceptor.If you are making network requests in your android app then I am pretty sure that you must be using Retrofit to do that. While Retrofit just makes requests it is also important to monitor these requests which can be achieved by using Interceptors. Re...Sep 30, 2021·5 min read
avidraghav.hashnode.devCode Compilation Process in Android.When Learning any Technology it's really important to know the process/steps which take place to convert the written code( High Level Language) into machine understandable language (Binary Language). Through the medium of this Blog I'll try to give a...Sep 12, 2021·3 min read