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));
 }
Пример #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);
 }