When working on implementing Slider in my app, I wanted to use the labels on the Slider but the standard implementation [https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#Slider(kotlin.Float,kotlin.Function1,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.ranges.ClosedFloatingPointRange,kotlin.Int,kotlin.Function0,androidx.
Dev Bits and Bytes
Android development, thoughts, stories and ideas.
If you have worked in the Android View system, you are most likely familiar with the SearchView [https://developer.android.com/reference/android/widget/SearchView]widget that can be used to send a request to a search provider, display any available results, and allow users to select them. In Jetpack
When working on migrating the AutoCompleteTextView [https://developer.android.com/reference/android/widget/AutoCompleteTextView]in my existing app to a new app with Jetpack Compose, I noticed that there is no out of the box functionality today in Compose. So I decided to write my own AutoCompleteTextView to achieve similar
Configuring Firebase UI for authentication is straightforward, similar to how we set it up in the view system but with few minor changes. Let's look at how we can configure Firebase UI when using Jetpack Compose. Gradle Setup Gradle setup is basically following the documentation to add Firebase to the
Requesting permissions has been an important workflow when building our apps to access the different features on the Android device. This usually is done through invoking requestPermissions [https://developer.android.com/reference/androidx/core/app/ActivityCompat#requestPermissions(android.app.Activity,%20java.lang.String,%20int)] . If you are new to Android,
Snackbar [https://developer.android.com/reference/com/google/android/material/snackbar/Snackbar] in Android provides a feedback to an operation. This is the preferred way to notify users about an action compared to the older toast messages. With Jetpack Compose, the way we build and show snackbar is slightly different
Just when I am getting comfortable with Android Development using the Constraint Layout, ViewModel binding and Coroutines, Jetpack Compose beta was released. At this point, we are all aware that the only constant in life is change. After, looking at some of the videos released by the Android team, it
There are times when we want to offload certain operations from our app to a background process to better improve the user experience of the app. Typically, this would be operations that are time consuming and are required to be done in real-time. For example, image transformations or deleting image
While recently learning the Navigation component in Android, I was trying to make the navigation work with the Toolbar, however the Up navigation doesn't work. I was following this official documentation [https://developer.android.com/guide/navigation/navigation-ui#create_a_toolbar] and I made sure to follow all the steps.