InProAndroidDevbyDai·Oct 20, 2020Jetpack 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…A response icon1A response icon1
InProAndroidDevbyDai·Oct 20, 2020Jetpack 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…A response icon2A response icon2
InAndroidPubbyDai·Dec 17, 2017How 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…A response icon9A response icon9
InAndroidPubbyDai·Nov 30, 2017Android 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…A response icon5A response icon5
InAndroidPubbyDai·Aug 23, 2017Keep 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…A response icon6A response icon6
InAndroidPubbyDai·May 22, 2017This 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.A response icon2A response icon2
InAndroidPubbyDai·Mar 11, 2017Super 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…A response icon12A response icon12
InAndroidPubbyDai·Feb 19, 2017A 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…A response icon7A response icon7