![]() ![]() Basically Parcelable is a component of Android SDK, an Interface which is similar to JAVA Serializable. It is fully interoperable with Java and runs on the Java Virtual Machine (JVM). step 2: create a user defined data class kotlin package deserialize data class studentinfo (val id: int, val name :string, val rollno : int). step by step implementation step 1: create a new project in android studio using kotlin. Kotlin and Ktor Kotlin is a modern programming language that is designed to be more concise and expressive than Java. We will serialize and deserialize objects to json using the gson library. ![]() If you are an Andorid developer and ever tried to pass your custom Model or Data class from one Activity to another Activity, you must encountered with Parcelables. RESTful APIs follow these principles to enable the exchange of data between different systems in a standardized way. ![]()
0 Comments
Leave a Reply. |