RvewX | ريفيو اكس

Tag Archives: Example

Tutorial

Android WorkManager Example

In this tutorial, you’ll start with WorkManager, we’ll create a simple quotes app that sends a notification every day what is WorkManager ? The WorkManager API makes it easy to schedule deferrable, asynchronous tasks that are expected to run even if the app exits or device restarts. Benefits of using WorkManager Backwards compatible up to api 14 which…

Continue reading

Tutorial

Android LiveData and ViewModel with Example.

In this tutorial, you’ll get started with Android LiveData, we will create simple Nots app that you can add new Nots and also edit or delete Nots. LIVEDATA: Livedata is an observable data holder class. Unlike a regular observable, livedata is lifecycle-aware, meaning it respects the lifecycle of other app components, such as activities, fragments,…

Continue reading

Tutorial

Android Room Database Example

In this tutorial, you’ll get started with Android Room, we will create simple Contacts app that you can add new contact and also edit or delete contacts. Room offers a layer of abstraction over SQLite to allow fluent access to the database while exploiting SQLite’s complete authority. To configure your app to use  Room, add the  Room component to the build.gradle file in the app module  Adding Room Entities Create a java class with getter and denoted it with @Entity annotations. On Database instance create table will created in…

Continue reading

×