I have two class, class A and B, B includ class A, like this:

class A
{
    int a;
    int b;
}

class B
{
   A a; //this is Class A
   int b;
}

class B should implement like this

class B extends parcelable
{
    //how to implement WriteToParcel and ReadFromParcel functions in
class B in order to write/read object A???

}

it is better give example for writetoparcel and readfromparcel????





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to