October 31st, 2018

It’s the last day of the tenth month of twenty eighteen. The statement has sufficient weightage to deserve its own space on this daily log.

Today, I worked on the paging library for my Genius app. One of the issues that I am facing is that the data on main list changes frequently and I want to make sure that I am not force downloading data more than it needs to be. As I don’t have control over the data I have limited options on how to fix this issue.

The paging sample from the codelab has quite an interesting code. It uses lambda function extensively, implements infinite scrolling and also implements the network state for retrofit.

While searching for a solution for my issue I also came across Etag which means that data is returned only if any changes have been done on the backend otherwise 304 is returned.

October 6th, 2018

I happen to revisit the concept of properties in Kotlin. Parameter, property, backing field, backing property, etc. make the complicated landscape of Kotlin variable declaration.

Backing properties in Kotlin has done a good job explaining all the terms mentioned earlier.

Google has also released a Coroutine codelab at the KotlinConf 2018.