InAndroidPubbyMohit Sharma·Dec 21, 2017Android ViewModel with Custom ArgumentsAndroid Arch component has 2 types of view model. One is ViewModel and AndroidViewModel, differnce between those 2 is first one does not…A response icon4A response icon4
Mohit Sharma·Jun 7, 2017Android Detect App Foreground TimeI was working on one of a project where I want to determine the app foreground time for which user was using the app. Surprisingly Android…A response icon1A response icon1
InAndroidPubbyMohit Sharma·May 25, 2017Android change touch area of View by TouchDelegateRecently while using one application I noticed that application has the pretty small buttons and sometimes it pretty tough to click those…A response icon5A response icon5
Mohit Sharma·May 23, 2017Kotlin lazy, lateinit and DelegatesIn Kotlin when we define variable either we have to initialize with some value or define them in such way value can be null for those…A response icon1A response icon1
Mohit Sharma·May 23, 2017Android New App Architecture ExampleIn my last article, I discussed new architecture. In this article lets implement that new Pattern in the Sample App. It’s a pretty simple…
Mohit Sharma·May 22, 2017Android App Architecture ViewModel ConceptIn Google IO 2017, Google recommended the App Architecture that can be used to make app more stable and robust. The application…A response icon1A response icon1