Taking inspiration from getOrNull type function in Kotlin, I ended up creating this extension which has helped me out in multiple cases, Specially dealings with
Highly recommend the following extended explanation of how this extension work, Do checkout and stay tuned for more content.
AndroidBites | Koltin | ErrorHandling
How to take advantage of try catch expression and null check to make error validation elegant. Here is a snippet you…
follow me on social media :
LinkedIn : https://bit.ly/ch8n-linkdIn