Mohit SharmainAndroidPubAndroid 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…Dec 21, 20174Dec 21, 20174
Mohit SharmaAndroid 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…Jun 7, 20171Jun 7, 20171
Mohit SharmainAndroidPubAndroid 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…May 25, 20175May 25, 20175
Mohit SharmaKotlin 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…May 23, 20171May 23, 20171
Mohit SharmaAndroid 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…May 23, 2017May 23, 2017
Mohit SharmaAndroid 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…May 22, 20171May 22, 20171