Code example for Parcel

Methods: writeIntwriteParcelablewriteString

0
		// TODO Auto-generated method stub 
		return 0; 
	} 
 
	public void writeToParcel(Parcel out, int flags) {
		out.writeString(mLabel);
		out.writeInt(mMounted ? 1 : 0);
		out.writeParcelable(mInfo, flags);
	} 
 
	public ApplicationInfo getApplicationInfo() {
		return mInfo;
	} 
 
	public String getLabel() {
		return mLabel;
	} 
 
	public Drawable getIcon(Context context) {
		if (mIcon == null) {
Experience pair programming with AI  Get Codota for Java