Jetpack Architecture

Android JetPack WorkManager Example

Google released Android Jetpack. It’s a set of libraries, tools and architectural guidance to help make it quick and easy to build great Android apps. In this Android Jetpack, team at Google release one library specifically designed for scheduling and managing the background tasks. It’s called “WorkManager”. WorkManager The WorkManager API makes it easy to specify …

Android JetPack WorkManager ExampleRead More »

Android Jetpack Paging Example Using Room

Paging Library Announced with new additions at Google IO 2018, the Paging Library is a part of Android Jetpack. The Paging Library makes it easier for you to load data gradually and gracefully within your app’s RecyclerView. The Paging Library helps your app observe and display a reasonable subset of this data. This functionality has several advantages: Data requests consume …

Android Jetpack Paging Example Using RoomRead More »

Android Jetpack-Navigation Library Example

The Navigation Architecture Component, released as part of Android Jetpack , aims to simplify the implementation of navigation in your Android app. This component and its guidelines offer a new look into how navigation should be implemented, including the suggestion for the use of single-Activity architecture as the preferred architecture for Android Jetpack moving forward. …

Android Jetpack-Navigation Library ExampleRead More »

Understanding Android Architecture Components  By Example

Android Architecture Components A new collection of libraries that help you design robust, testable, and maintainable apps. — We will see three main components : Room ViewModel LiveData So first, let’s find out what these components actually are. Then, we’ll learn how we can use them. Get Source code From HERE. By creating an Event app I …

Understanding Android Architecture Components  By ExampleRead More »

A Simple Basic Example of ViewModel

 ViewModelExample  is a very straightforward app with buttons that increase Or decrease  the no of items. The finished app has a bug though; if you rotate the phone, your selected  number of items will again set up with the initial value. Download Github code from here.              What’s going on? Rotating a …

A Simple Basic Example of ViewModelRead More »

Android Room Persistence Library Example

 Room Persistence Library Major problem with SQLite usage is There is no compile-time verification of raw SQL queries.For example if you write a SQL query with a wrong column name that does not exist in real database then it will give exception during run time and you can not capture this issue during compile time. …

Android Room Persistence Library ExampleRead More »

%d bloggers like this: