Ashish KumarSmallest Subtree with all the Deepest NodesFor a binary tree, the depth of each node is the shortest distance to the root. Here a node is deepest if it has the largest depth…Dec 13, 2020Dec 13, 2020
Ashish KumarinProAndroidDevHow do coroutines work under the hood?Many of us have been using coroutines to manage asynchronous tasks which might have otherwise blocked the main thread and cause our app to…Mar 18, 20203Mar 18, 20203
Ashish KumarRetention Policy for Annotations in JavaAs we all know that Java Annotations are used to provide metadata for our code, typically used for the following purposesFeb 5, 2020Feb 5, 2020
Ashish KumarGetting familiar with the Navigation ComponentsPlaying with fragment transactions and handling relevant states has always been (or at least used to be) something, developers are afraid…Jul 23, 2019Jul 23, 2019
Ashish KumarAdding and using debug build specific dependencies in AndroidAndroid-being the versatile giant it is-has a lot of tools to help us in not just in development, but also while debugging the apps. One…Jul 23, 20191Jul 23, 20191
Ashish KumarAdding custom attributes to a view in android (through XML)Very often we come to situations where we need to add a custom ability to a view in android, for example, say we need to set typeface to…Jun 12, 2018Jun 12, 2018