Ditching the Kotlin synthetics and Architecting view binding into the core of an app in a clean manner, thanks to generics and Kotlin delegates.
View binding is the cool new solution for accessing the layout views. A lot of good, in depth material is available about it on the internet, so I won’t go into much basics. However here is a slide from my end to give you a quick refresher on this topic:
View binding is useful, but quite verbose . just to access a textview from xml, we need to create binding instances and access as
How gradle variables and gitignore can save you from the pain of managing private keys.
Often times I find myself in a situation where I have made a fine looking app that I want to share with the open source world, but worry that my app code contains several keys and ids that might get misused .
In other times, there is this situation that I have to deploy an app to production using a particular
id that is different from the current
id that I am using for development.