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…
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…
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…
Simple Data Binding Library Example
The Data Binding Library provides both flexibility and wide compatibility — it’s a support library, so you can use it on systems running Android 4.0 (API level 14) or greater. The example to show how to use data binding with RecyclerView displays a list of item in RecyclerView To configure your app to use data…
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…
Android ViewPager Example Tutorial
Format supervisor that enables the client to flip left and directly through pages of information. You supply a usage of a PagerAdapter to create the pages that the view appears. ViewPager is frequently utilized related to Fragment, which is an advantageous method to supply and deal with the lifecycle of each page. There are standard…