In this tutorial, we’ll be discussing and implementing the Drag and Drop functionality over our RecyclerView in an Android Application. We’ve already discussed Swipe to Dismiss feature in our previous tutorial. RecyclerView Drag and Drop Drag and Drop can be added in a RecyclerView using the ItemTouchHelper utility class. Following are the important methods in […]
Android Tutorials using Android Studio for Beginners as well as advanced programmers. Learn android app development step by step and download source code for example app.
Best Android Tutorials
These are some of my favorite android tutorials here.
In this tutorial, we’ll be discussing what are DialogFragments. We’ll see how they are different from the Dialogs too with the help of a simple android application. Android DialogFragments DialogFragment is a utility class which extends the Fragment class. It is a part of the v4 support library and is used to display an overlay […]
In this tutorial, we’ll be implementing RxJava with Retrofit such that the Retrofit Service is called every x seconds in our Android Application. Android RxJava and Retrofit We have already discussed the basics of RxJava and Retrofit together, here. In order to create a Retrofit service that runs after certain time intervals, we can use […]
In this tutorial, we’ll be discussing Espresso Testing Framework for Testing the UI of Android Applications. We’ll be creating a basic login application with a few espresso tests. Android Espresso We’ve already discussed Android Unit Testing before. Testing is an important area for building any product. It helps us in: Detecting bugs/cases not covered by […]
In this tutorial, we’ll discuss Android Unit testing which forms an integral part of Android Application Development. We’ll specifically implement local Unit Testing using JUnit4. Android Unit Testing As the name says, Unit testing is testing every unit of your code. Unit testing is a must to build robust applications. It is an important element […]
In this tutorial, we’ll learn how to implement our own custom tiles in the quick settings. This has been possible since Android Nougat. In our android application below, we’ll be creating a counter system which would keep a count of how many times you have opened the quick settings. It will display this in the […]
In this tutorial, we’ll be discussing the two vital methods for managing the state of the application, namely onSaveInstanceState and onRestoreInstanceState. We’ll be developing a Counter Android Application in which we’ll handle the state of the application when the configuration changes. Android Lifecycle Following is the lifecycle of the Activities in our application: Whenever there […]
We’ve already implemented MVVM using Data Binding and covered LiveData and Data Binding in separate tutorials. Today, we’ll use LiveData with Data Binding in our MVVM Android Application. We’ll see how LiveData makes it easy to update the UI from the ViewModel. MVVM LiveData Data Binding Up until now, we’ve used Data Binding to update […]
In the previous tutorials, we discussed RxJava and some of its operators. Today we will discuss the RxBinding library in our Android Application. RxBinding We know that RxJava is a reactive event-based programming paradigm. RxBinding is a set of support libraries to make the implementation of user interaction with the UI elements in Android easier. […]
In this tutorial, we’ll be using the Retrofit library in order to download an image from a URL. We will show the progress of the download in the notification task. We’ll be using an image from unsplash.com. Android Retrofit Download Image In our previous tutorial, we built an android application which we download a file […]