In this section, we will get started with the various data transfer techniques that are used in an Android application. The techniques have their own pros and cons. There are a total of three methods to transfer data explicitly from one activity to another. We will see them shortly along with their examples. The three methods are as follows:
Parcelable(only applicable to custom data objects)
Serializable(only applicable to custom data objects)
In Android, the simplest way to transfer data from one activity to another is by sending it through extras. The intent extras support primitive data types to send ...