919 Topics

Member Avatar for
Member Avatar for dimitrilc

## Introduction ## Among all of the Android libraries, Paging 3 is perhaps one of the hardest to understand. Personally, I think the problem with Paging 3 are: 1. Developers need to learn a lot of custom classes before they can understand how Paging 3 works under the hood and …

1
537
Member Avatar for dimitrilc

## Introduction ## The Android Paging 3 library can operate in two modes, with an offline Room database as a source of truth or without one. In this tutorial, we will look at how to use Paging 3 with a local Room database. This tutorial expands on the previously published …

1
1K
Member Avatar for Linda_19
Member Avatar for dimitrilc

## Introduction ## Among the many ways to create your own View, extending an existing View is the simplest option. This is because you are inheriting pre-made attributes, drawing, and accessibility features. In this tutorial, we will learn how to create our own custom View by extending an existing View …

2
82
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to apply Material 3 colors and Dynamic Colors to our App. ## Goals ## At the end of the tutorial, you would have learned: 1. How to apply Material 3 colors. 2. How to enable Dynamic Colors. ## Tools Required …

2
454
Member Avatar for TimTheCoder

Hey guys, I am trying to upload text entered by a user of my app in an edit text to a google firebase application. Tried to find some reference online on how to do this, the article suggested I add Firebase.FirebaseDatabae.net which I added to the project via the Nuget …

0
55
Member Avatar for dimitrilc

## Introduction ## In Android development, UseCases are classes that encapsulate business logic that are often used in ViewModel classes. UseCases belong to the optional Domain layer in Android apps, so they are not required, but can reduce your ViewModel’s complexity and make your application easier to test. In this …

2
444
Member Avatar for dimitrilc

## Introduction ## When working with WorkManager, it is important to know how to provide input data to your Workers. In this tutorial, we will learn how to provide basic input data to a Worker as well as when Workers are chained together. ## Goals ## At the end of …

2
166
Member Avatar for Iqra_18
Member Avatar for dimitrilc

## Introduction ## If your App only need a simple way to play videos on Android, then **VideoView** (`android.widget.VideoView`) might just fit the bill. In this tutorial, we will learn how to use VideoView for video playback in our App. ## Goals ## At the end of the tutorial, you …

Member Avatar for Iqra_18
3
121
Member Avatar for dimitrilc

## Introduction ## Android provides many ways to perform background tasks, such as Services, WorkManager, or even threads. In this tutorial, we will learn how to create a Service for our Android app. ## Goals ## At the end of the tutorial, you would have learned: 1. How to create …

Member Avatar for Iqra_18
2
291
Member Avatar for dimitrilc

## Introduction ## When using a Worker (**from the WorkManager library**), you might have wondered how to inject dependencies with Hilt. In this tutorial, we will learn how to inject dependencies into our Worker. ## Goals ## At the end of the tutorial, you would have learned: 1. How to …

1
866
Member Avatar for dimitrilc

## Introduction ## Finding a View in Espresso tests can be quite confusing because there are so many matchers available. In this tutorial, we will learn how to find a View based on its sibling contents. ## Goals ## At the end of the tutorial, you would have learned: 1. …

1
267
Member Avatar for Nicholas_25

Hello there. I'd like to develop a mobile app with cutting-edge functionality. A rider app, a passenger app, and an admin portal are all included. It is necessary to register and edit your profile. Can someone provide me with a cost estimate for app development? or else any other way …

Member Avatar for Iqra_18
0
53
Member Avatar for priyamtheone

I'm broadcasting an intent in my app and receiving it with a broadcast receiver. I can handle the broadcasting and receiving. No problem with that. However, I want to register the receiver completely programmatically instead of doing it in the manifest file. Notice, that in the manifest file, there are …

Member Avatar for priyamtheone
0
56
Member Avatar for dimitrilc

## Introduction ## When working with Room, you might have wondered how to run multiple statements in a single transaction. Running multiple statements in one transaction has two main benefits: 1. Your statements can reuse the same connection. 2. They can all fail together if something goes wrong. Regarding the …

1
453
Member Avatar for dimitrilc

## Introduction ## When working with Room, you might have wondered how to describe one-to-many relationships between entities. In this tutorial, we will learn how to do just that. ## Goals ## At the end of the tutorial, you would have learned: 1. How to define one-to-many relationship for entities …

1
1K
Member Avatar for Mr.M

Hi DW. Is there anyone who know how I can I develop an App that's like TeamView for Android so that I will be able to remotely access the phone via browser on my website? What I want to do is that instead of directly accessing the phone I want …

Member Avatar for rproffitt
1
81
Member Avatar for dimitrilc

## Introduction ## There are many ways to describe relationships between Entities in Room, one of which is to embed an entity inside of another. When embedding an Entity, the columns of the embedded Entity are extracted as member columns of the enclosing entity. In this tutorial, we will learn …

1
152
Member Avatar for dimitrilc

## Introduction ## When working with Services on Android, you might have ran into an issue where you would like to: 1. Use a concrete implementation of a Service (*from a built-in or third party library*). 2. Make the Service lifecycle-aware so that you can use coroutines with it. Many …

1
2K
Member Avatar for Nicholas_25

Hello, my name is Nicholas, and I'm the owner of a taxi service in Miami. I recently started a cab service with the support of a few friends. This firm has taken a lot of time and work to build. So far, we haven't been able to uncover anything that …

Member Avatar for Nicholas_25
0
47
Member Avatar for dimitrilc

## Introduction ## If your Android Application uses Room, then you might have wondered how to prepopulate a Room database. In this tutorial, we will learn how to prepopulate a Room database. ## Goals ## At the end of the tutorial, you would have learned: 1. How to prepopulate a …

1
1K
Member Avatar for dimitrilc

## Introduction ## When working with music files, you might have wondered how to load display art from Audio files. In this tutorial, we will learn how to load thumbnails for audio files. ## Goals ## At the end of the tutorial, you would have learned: 1. How to load …

2
1K
Member Avatar for dimitrilc

## Introduction ## When working with Hilt, you might have wondered how to inject ViewModels into your application. In this tutorial, we will learn how to inject ViewModels into your app Fragments. ## Goals ## At the end of the tutorial, you would have learned: 1. How to inject ViewModels …

4
1K
Member Avatar for dimitrilc

## Introduction ## In Android development, reusable layouts can be used to reduce duplicate code across XML files. In this tutorial, we will learn how to reuse layout files, especially with View Binding enabled. ## Goals ## At the end of the tutorial, you would have learned: 1. How to …

2
524
Member Avatar for Nicholas_25

In my hometown, I'm a budding entrepreneur with a cab business that I'd want to develop to meet current market demands. It would be more expensive to create a mobile app for both iOS and Android. As a result, I resorted to Android to build my own taxi booking application. …

Member Avatar for Dani
0
160
Member Avatar for happygeek

Hands up if you remember Opera Software, you know the Norway-based developer of alternative web browser clients. In the days before Firefox, Opera was the client most likely to shake up Microsoft and for a while seemed to be doing pretty well in that regard. Then Firefox came along and …

Member Avatar for jacquelinelop
0
331
Member Avatar for dimitrilc

## Introduction ## MediaPlayer (`android.media.MediaPlayer`) is a popular way to play media files, and combining it with a SeekBar can greatly improve the user experience. In this tutorial, we will learn how to synchronize a MediaPlayer progress to a SeekBar position. ## Goals ## At the end of the tutorial, …

2
992
Member Avatar for dimitrilc

## Introduction ## When working with a Room database, we are mostly restricted to save data using primitives (*and boxed primitives*). Reference types are not supported right out of the box, but can be enabled by creating additional [TypeConverter](https://developer.android.com/reference/androidx/room/TypeConverter). If you are familiar with ORM-light frameworks such as Spring JDBC, …

2
2K
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to add swipe-to-remove and drag-to-reorder functionalities into RecyclerView. ## Goals ## At the end of the tutorial, you would have learned: 1. How to add swipe-to-remove and drag-to-reorder functionality to a RecyclerView. ## Tools Required ## 1. Android Studio. The …

2
179

The End.