Glide a very powerful Library for image loading into ImageView. Main purpose of glide is to load image fast in efficient way. It provides memory and disk caching that load the image extremely fast and it has several other features that allow customisation. When we need a Image List in RecyclerView then it is impossible…
Volley is an HTTP library that allows networking much easier and faster, it is provided by google. Volley itself has asynchronous calls so we do not need to create another Thread for making network calls like Asynctask. Here we have created a singleton class to make API call more easy by writing 2-3 lines of…
Now a days almost in all projects, there is need of API services, if you are using any API then there should be a check for internet connectivity.
If you are finding the same then now you are at right place.
Here we will see how we can check internet connectivity at run time.
Run time means to check Live internet connection status while using Application.
Activity is the most important component of Android, it is responsible for User Interface.
This post is about to send data from one Activity to another and also get result from SecondActivity.
Communication through Activities is not a big deal for android programmers but it can be difficult for beginners.
We are here to implement custom font with TextView, EditText and Button.
Most of us create different classes for all types of font for single View.
Here we will create one class for one View. And after that we can change font from layout file.
So let’s start the implementation-
SharedPreferences is used to save and retrieve data in application, data is stored in private mode, it means SharedPreferences is application specific.
SharedPreferences data will be deleted when you clear data of application from settings of device or after uninstalling of application.
In this tutorial, we will show you how to make a call in android (compatible with marshmallow-6.0 or above android version).
This project is created in Android-Studio_2.1.3 and tested with minimum Gingerbread_V-2.3_API-9 and maximum Nougat_V-7.1.1_API-25 devices.
Code commenting does not take too much time while writing your code, and it is good habit to make a proper documentation for your code. Some of us does not take it seriously and think it is just a waste of time, if you are thinking the same then you are totally wrong. Why?
BroadcastReceiver is mainly used to get notified from activity or fragment. For example if we performing any uploading or downloading task then in this case we have to use service and after completing it’s task we will fire a broadcast.
If anyone found error like this it means they have not defined a default Activity in AndroidManifest.xml file.
Here is example how to set default launcher activity in AndroidManifest file:
This example elaborate the structure of Json data.
This example shows a nested(JsonObject inside JsonObject) Json Structure.