Jetpack

Android Jetpack CameraX Example

This post is about Android Jetpack CameraX API and how to implement it in an android application with a simple basic example. CameraX CameraX is a Jetpack support library, makes it easier to add camera capabilities to your app. It has backward compatibility down to Android API 21. It uses a simpler, use case-based approach …

Android Jetpack CameraX ExampleRead More »

Android Jetpack Proto DataStore Example

This blog is about Android Jetpack Proto DataStore and how to implement Proto DataStore in our Android application. Proto DataStore Proto DataStore stores data as objects of a custom data type. When using Proto DataStore, you have to define a schema using protocol buffers. Creating New Project 1 . Create a new project by going to File ⇒ New …

Android Jetpack Proto DataStore ExampleRead More »

Android Jetpack Preferences DataStore Example

This blog is about Android Jetpack DataStore Preferences and how to implement DataStore Preferences in our Android application. DataStore Jetpack DataStore is a data storage solution. It allows us to store key-value pairs (like SharedPreferences) or typed objects with protocol buffers (discuss in the next article). DataStore uses Kotlin, Coroutines and Flow to store data asynchronously with consistency …

Android Jetpack Preferences DataStore ExampleRead More »

Android working with observable data objects using DataBinding

Observable Data Object refers to the capability of an object to notify others(listeners) about the changes in its data. The data binding library allows us to make objects, fields, or collections observable. Any plain-old object can be used for data binding, but modifying the object doesn’t automatically cause the UI to update. Data binding can …

Android working with observable data objects using DataBindingRead More »

Android Data Binding In RecyclerView

In the previous article, we have learned about the Basics of dataBinding.Now In this android data binding RecyclerView tutorial, I’m going to show how to implement data binding in Android RecyclerView. Data binding binds the UI with data sources and reduces lines of code. Using DataBinding in an adapter class keeps the code to very …

Android Data Binding In RecyclerViewRead More »

Android Jetpack Data Binding

In this article, we are going to learn the basics of DataBinding with an emphasis on explaining how data binding is implemented within an Android Studio project. Data Binding  DataBinding is one of the Android Jetpack Architecture Component suggested by android. The Data Binding Library is a support library that allows you to directly connect …

Android Jetpack Data BindingRead More »

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. — developer.android.com 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 »

%d bloggers like this: