public void onCreate(Bundle bundle) { super.onCreate(bundle); Serializer serializer = FareBotApplication.getInstance().getSerializer(); mCard = (ClassicCard) Card.fromXml(serializer, getArguments().getString(AdvancedCardInfoActivity.EXTRA_CARD)); setListAdapter(new ClassicRawDataAdapter(getActivity(), mCard)); }
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Serializer serializer = FareBotApplication.getInstance().getSerializer(); mCard = Card.fromXml(serializer, getArguments().getString(AdvancedCardInfoActivity.EXTRA_CARD)); mTransitData = getArguments().getParcelable(CardInfoActivity.EXTRA_TRANSIT_DATA); }
public void writeToParcel(Parcel parcel, int flags) { super.writeToParcel(parcel, flags); parcel.writeParcelable(mManfData, flags); parcel.writeInt(mApplications.length); parcel.writeTypedArray(mApplications, flags); }