protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            SetContentView(Resource.Layout.DealDetailView);


            //early demos
            DealDataService dataService = new DealDataService();


            var selectedDealId = Intent.Extras.GetInt("selectedDealId");

            selectedDeal = dataService.GetDealById(selectedDealId);

            // Create your application here

            FindViews();
            BindData();
            HandleEvents();
        }
示例#2
0
 public BaseFragment()
 {
     dealDataService = new DealDataService();
 }