Kalyan Raghu·Apr 9, 2025Why are prime numbers greater than 3 of the form 6n+1 or 6n+5?Primes numbers greater than 3 satisfy an interesting property that they can be written as 6n+1 or 6n+5 where n is a natural number.A response icon1A response icon1
Kalyan Raghu·Feb 27, 2025Kotlin coroutines awaiting for a future without blocking the current threadIf we are making a network call on some context such as Dispatchers.IO and using our own custom Futures to make the network call, then…
Kalyan Raghu·May 10, 2022Understanding LiveData switchMap Transformation functionThis is an attempt to understand Transformations.switchMap function through a small example and modifying its implementationA response icon1A response icon1
Kalyan Raghu·May 3, 2022A simple example of LiveData Transformations map functionTransformations.map function can be used to return a new LiveData object from an existing LiveData