Skip to content

ferdy182/Android-parcelable-example

Repository files navigation

Android-parcelable-example

English

Example about how to use parecelables on Android

The important class is Estudiante.java (Student), check how a parcelable is implemented.

For instance, a activity creates a Student object that implements the interface Parcelable, and this is passed to a second activity though intent extras. Then it is displayed on the second activity, both on screen and in the LogCat

Explained in Spanish in this Androcode.es article http://androcode.es/2012/12/trabajando-con-parcelables/

Español

Ejemplo de cómo usar parcelables en Android

La clase importante es Estudiante.java para ver como se implementa un parcelable.

En el ejemplo, un Activity crea un objeto Estudiante que implementa la interfaz Parcelable y se lo pasa a otra Activity a través de los extras del intent. Luego en la segunda Activity, éste se recupera y se muestra por pantalla y por LogCat.

Explicado en un artículo de Androcode.es http://androcode.es/2012/12/trabajando-con-parcelables/

About

Example about how to use parcelables on Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages