Tutorial

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 paging library tutorial with source code

In this tutorial, you’ll get started with Android paging library with Room Database, we will create simple emoji app that show emojis throw paging library and recyclerview what is paging library ? Android paging library is a component of android jetpack,  Paging Library helps you load and display small chunks of data at a time. Loading…

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

Tutorial

Android RecyclerView example

The RecyclerView class expands the ViewGroup class and actualizes ScrollingView interface. It is presented in Marshmallow. It is a propelled adaptation of the ListView with improved execution and different advantages. RecyclerView is for the most part used to structure the UI with the fine-grain authority over the rundowns and lattices of android application. Let’s Start…

Continue reading

×