© 2022 Hashnode
Introduction The state is any value that can change over time. Examples of states in android are:- Snackbar blog post with associated comments Ripples animations on buttons that play when a user clic…
In just 400KB. Download it for free here: https://webvium.github.io/
We have two type of apks : Android CPU architecture specific apk ("armeabi-v7a", "x86", "arm64-v8a", "x86_64") : In this, the libraries which are specific to other architectures aren't included, only required libraries are included. Unive…
I created this simple Android App (written in Kotlin and Jetpack Compose) to help me to understand different ways to connect to REST API web service using different HTTP Client libraries. I also tried…
7 very important and useful ways to create Flow in Kotlin with examples. flowOf() asFlow() flow{} MutableStateFlow & MutableSharedFlow() ChannelFlow CallbackFlow emptyFlow Read full version of this …
For pure Jetpack Compose app, technically we don't need the themes.xml and colors.xml anymore, which are meant for Android View system. However, I have seen a lot of code out there still have these th…
In my previous post, I build a very simple Jetpack Compose Navigation and use the NavRoute sealed class to avoid hard coding strings in multiple places. However, a better solution may be just using t…
I created this simple app to try out the navigation component in Jetpack Compose. This is how the app looks like. These are the steps to implement this simple app. 1. Add Navigation Compose Library I…
As a beginner in Android development I have found two useful ways to setting OnClickListeners for buttons under Java. First way: set the OnClickListener directly in the XML file Sample code for XML f…