Introduction to Kotlin Coroutines for Android
Asynchronous programming is a technique used to perform long-running tasks without blocking the main thread of an application. This is important in Android, where the main thread is responsible for rendering the user interface and handling user input. Tra...
Introduction to Kotlin Flows
A Kotlin flow is an asynchronous stream of data that you can subscribe to and receive objects one by one or all at once. It's like subscribing to a newspaper. You don't have to go to the newsstand every time and check if they have something new today. You...
Creating custom layouts with Compose -part 2-
In the previous article, we talked about creating custom layouts with Jetpack compose. This article will dive deeper and cover creating a custom modifier with a custom scope. We created a star layout in the previous article and it looked like this: You c...
Navigation parameters, and dynamic startDestination with Jetpack Compose
Our team was recently given the opportunity to work with Jetpack Compose on a brand new project in collaboration with a client who required two separate Android applications. It was successfully released and the client was very satisfied with the end prod...
Creating custom layouts with Jetpack Compose
Classic Android layouts are good for creating general purpose layouts, but when it comes to creating more complex layouts, you might find yourself creating custom views, and with Jetpack Compose it is now easier and more performant than ever to do so. In ...
Gender Equality Detection in Written Text
Gender is a social construct Gender and sex are two different things. From a very young age, we see different roles played by our father and mother. We see society treating a boy and a girl differently. Children are told not to play certain games or wear ...
Predicting Maternal Morbidity using Machine Learning Techniques
Machine learning (ML) is expected to make the hunt for new health care quicker, cheaper, and more effective. It could be taught to identify concerning trends quickly, while also improving its models over time and potentially proposing courses of action. ...
Safe Navigation With Jetpack Compose
Navigation is the key part of application development and Android is no exception. From Activities and Fragments transitions to Navigation Component and now, Navigation Component is available for Jetpack Compose! In this article, I would like to give a br...
Let it flow
I've been working with Flow on production for almost a year now. The light weight kotlin coroutines stream library has completely replaced RxJava for our new projects. RxJava is still a trend for Android Development even in 2020. But this article is not a...
Using MockWebServer On Android
At some point in your code development you'll want to test how the interaction with your app and the API server is being handled, but testing with a real connection with a server is expensive and unstable. Unit tests should be real quick and assert if you...