Published inProAndroidDevJetpack Compose Interop Part 2: Using Compose in Traditional Android Views and Layouts with…In Part 1 I demonstrated how we can use AndroidView to render traditional Views inside our Compose UI. For this part, we are now going to…Oct 20, 20201Oct 20, 20201
Published inProAndroidDevJetpack Compose Interop Part 1: Using Traditional Views and Layouts in Compose with AndroidViewLike most Android developers following the development of Jetpack Compose you are probably wondering if you will need to rewrite your…Oct 20, 20202Oct 20, 20202
Published inAndroidPubHow to detect Android application open and close: Background and Foreground events.This question seems to come up a lot. Especially if you are just starting out with Android development. It’s simply because there is…Dec 17, 20179Dec 17, 20179
Published inAndroidPubAndroid Architecture Components: Handling clicks and single actions in your View Model with…If you have started using the new Android Arch components you have probably reached a point and asked, “How do I handle a click or single…Nov 30, 20175Nov 30, 20175
Published inAndroidPubKeep those background Services working when targeting Android Oreo (26)So you just started targeting Android Oreo and you have forgotten about thoses Services you created to update your widgets in the…Aug 23, 20176Aug 23, 20176
Published inAndroidPubThis simple trick will have you creating multiple returns in Kotlin.Some languages, such as Go, allow for multiple returns. In Go its commonly used to return an error or the expected result.May 22, 20172May 22, 20172
Published inAndroidPubSuper simple event bus with RxJava and KotlinI wanted to implement a simple event bus with RxJava and Kotlin that did not require any if statements, switch statements, when statements…Mar 11, 201712Mar 11, 201712
Published inAndroidPubA few ways to implement a Swift like guard in KotlinBefore I started working with Kotlin, like most Android developers I developed applications in Java and in-between I learned Swift for iOS…Feb 19, 20177Feb 19, 20177