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));
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public void writeToParcel(Parcel parcel, int flags) {
   super.writeToParcel(parcel, flags);
   parcel.writeParcelable(mManfData, flags);
   parcel.writeInt(mApplications.length);
   parcel.writeTypedArray(mApplications, flags);
 }